I will use the language switcher on Wordpress, but I want to make a custom button like a toggle button instead of a dropdown list. I couldn't find a resource about it on the internet, how do you think I can do this?
Related
so I don't want to use the built-in options Polylang gives us to display the language switcher. I basically want to to develop my own dropdown language switcher. I don't like polylang's version, as it has the browser's specific styling.
I know how to build a dropdown with css & html but I don't know how I get the polylang language switcher to work in my own html dropdown - can anyone help?
I am currently using the Multisite Language Switcher Plugin on one of our webpages. I am trying to create a language switch button that will allow the user to go to the same post of the other language when they click on it.
So for example, if we have the english post and its equivalent in the welsh language, I would need to get the URL of its counterpart for the user to go to that page.
Any help would be appreciated.
Configure Multisite Language Switcher Options first then add switcher button from elements to anywhere you'd like to display.
I am using Zerif lite theme in my wordpress website I have placed language switcher dropdown next to my navbar on the homepage . I have 3 languages .
I am facing two issues currently :
After logging in in my Wordpress admin the language switcher is working , I am able to change language by clicking on the dropdown but after logging out, I opened my website in two browser's(chrome,safari) the dropdown doesn't seem to work . Language is not changing ???
2.How to customize the language switcher dropdown color,size,font,border etc ?
Please help !!!Thank you.
Try to deactivate other plugins maybe it is caused by one of them.
You can customize in CSS, in wordpress or by some text editor in your child theme.
Two buttons are there Hindi and English(these are two different categories).
And created one post and content is "How are you?".
When I click the button "Hindi", I need to display this post as in Hindi and When I click the button "English", I need to display this post as in English.
Is this possible to do?
I see you are using categories for translation but the better way to use some plugin for translation.
Here is the one i have recently used. Using this plugin you can add the language you want.
Check the plugin it might be helpful for you.
Plugin : Polylang
Add language : https://www.screencast.com/t/KdQiqqqES
Add page content in different language : https://www.screencast.com/t/JuEbga8eIE
This plugin won't do automatic translation, you have to add the translated content in admin panel which is best way to describe things in your words, Such plugin are used to avoid any mistakes of translation which automated translation plugin do.
The above answer also good but
if you translate just one language to another then you should use this plugin
https://wordpress.org/plugins/gtranslate/
Step 1 go to plugin area add new plugin into search tab paste plugin name Translate WordPress with GTranslate and it will search for you Translate WordPress with GTranslate plugin
Step 2 click to install button then activate the plugin
step 3 go to WordPress setting and click on GTranslate menu
step 4 then pick which language you want to show like Hindi and English
Step 5 the choose where you would like to show language translated options
and then save it
check screenshots
back end
front end
I want to create a multi language WordPress page (i-e: only page not the all content): it should have a drop-down button after clicking.
I need to choose language for translating on that language and display in translated result on page.
Ideally you should look at something like WPML https://wpml.org/ but I understand that might be overkill for your needs - instead then try this https://wordpress.org/plugins/custom-content-by-country/ and make use of the shortcodes it uses. You can build your own dropdown switcher to trigger which bit of content gets shown.