I can't change language in the single post. I changed language in control panel, but this one element is still in english. Need help
For string translation you have two option.
If your site is not a multi-language site then you need to change the text directly where it.
if you site is multi-language then you can use the Loco translate plugin.
Note: there is also other ways are available but above are very easy
Related
Maybe I'm missing something here, but I really can't find any answer to my question around the web.
I'm working to add multilingual support to the text of a custom WordPress theme. The website, for the most part, has been developed off of ACF fields; & I'm unsure as to how to access the .po files associated with these text fields.
I've followed some steps outlined in a previous Stack Exchange question, (about a similar matter) using Poedit to translate the default WordPress text from the theme.pot file, however this does not include the text input via the ACF plugin.
Additionally, I already have all the translated text for the website, so we would like to avoid licensing any 3rd party software/development tools, such as automatic translation plugins.
There are some plugins, most of them are not free and I had problems with the others.
How many languages do you want to support?
Most of the time I clone the website to a subdomain en.example.com and translate it there or install wordpress as a multisite.
Regards Tom
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
In wordpress woocommerce there is a single product page. Site is multilingual. The idea is to use automatic translation of the product non-translated content when needed only.
Now the situation is that GTranslate effects after website is loaded with content and then translates even translated product pages.
As I use woocommerce own single product template I don't know how to flag or how to get Google Translate know that this product name or translation is already translated...
Same thing with <title> tag - there is no possibility to put notranslate in it.
Any good suggestions?
You should not use qtranslate and g-translate at same time. Qtranslate allow manual translation, and g-translate use automatic one.
Disable g-translate and translate your products by hand, the only clean solution i see. Qtranslate does not support automatic translation and is no longer updated. I recommand you q-translate-x, that continue the developement of qtranslate or polylang (even better, for me).
I'm looking for a simple plugin for WordPress to be able to switch the language on the front-end.
I tried many plugins no one worked. I just need to prefix my page path with something like /en/my_page and transform it to /fr/my_page when I select French as the current language for instance.
I also have spent in the past quite a lot of time looking for a plugin to create sites in various languages.
The only plugin I would recommend is Qtranslate https://wordpress.org/plugins/qtranslate/
Its very simple, and easy to customize the front-end template using shortcodes.
I have developed a free plugin for that purpose here:
https://code.recuweb.com/get/language-switcher/
It has been reviewed and hosted by Wordpress here:
https://wordpress.org/plugins/language-switcher/
Language Switcher allows you to map urls of alternative languages for Post Types and Taxonomies. Additionally it allows you to filter archive pages by language.
To prefix your pages with the language code I recommend you to follow these steps:
create a main page with slug en and another one with slug fr.
set my_page with parent page en and ma_page with parent page fr.
map the urls of the translations in my_page and ma_page
add the shortcode [language-switcher] to allow readers to jump from one page to another
I have a project with WordPress for a multi-language, multi-country site.
I want to have a structure like:
domain.com
domain.com/es
domain.com/de
domain.com/fr
domain.es
domain.es/en
domain.fr
domain.fr/en
domain.de
domain.de/en
I was wondering if anyone had any useful articles, tips or insights. The idea is that the .com site be the 'parent' site. The other satellite sites would be in their native language by default, but might have other languages available. Ideally, each individual satellite site could have some leeway to have styles/content that would be different than the parent site.
I also want the parent site to use canonicalization, so that the 'satellite' (country-specific, top-level-domain) sites have priority.
I guess I'm most curious to know about:
Domain mapping and compatibility with WMPL
Thanks
I use "Polylang" in all my projects and it works perfect for me. Polylang does 2 things:
1) Creates siblings for post and pages, connected through ID, so you may write a post in english and then a "spanish sibling" with different contents but connected to the other, so when you do the language switch it displays the desired languahe.
2) Automatically creates a sub route in your WordPress URL (like yourdomain.com/en and yourdomain.com/es) so it matches and changes the desired language interface. You may even use functions on your templates to switch some contents by language on the same template file. You may add and define as many languages as you want.
Important: this is not a plugin for "auto translate" contents, its more like an option to create multilingual sites.
You may find Polylang here: Download Polylang from WordPress Plugins
If you're interested on using Polylang on your templates, here you could find a solution for calling different contents according to the language selected by the user: Multiple headers by language using Polylang
I hope this work for you.
Greetings!
I want to like WPML because I purchased it, but it just never works well for me and I always end up using Polylang.
update I recently used WPML for project and the latest version worked extremely well for me. Polylang is still great and my latest experience with WPML is even better than Polylang.