Localizing Customization Strings
-
I need to translate/localize my VW Charity NGO Pro theme into Spanish. I have installed the Loco plugin for this purpose, but when I translate the theme, the customization strings are not visible (strings found in the “Theme Settings” menu). When I open the .POM in POEdit, not all of the strings are visible either.
Do you support the Loco plugin? Is there any other plugin I can use to translate the theme? What file do I need to customize in order to translate strings I specify in the Theme Settings menu?
-
This topic was modified 4 years, 5 months ago by
JOHN OVERBAUGH. Reason: Adding clarification
Hi,
To change the language of WordPress frontend, backend, and theme settings. Follow the following steps
For Frontend:-
1)Download the GTranslate plugin.
2)Install and activate the plugin.
3) Go to plugin/GTranslate/settings
Open link:-https://ibb.co/X8rYKwP
4)Select the number of languages and position of dropdown for the option to translate.
(default will be English)
Go to plugin/GTranslate/settings
Open link:- https://ibb.co/PZh2PyZ
5)Open the front end and select the language from the dropdown and reload the page.
For Backend:-
WordPress should always allow me to change the language, where default “English (United States)”.
Settings > General Settings > Site Language
Open link:- https://ibb.co/xGrtXzC
For Theme settings in theme customizer.
1)You need to create the Portable object template(.Pot) file.
2)Translate that Pot file into Portable object(.Po) and Machine Object(.Mo) using Poedit and google translator.
3)Write the “define (‘WPLANG’, ‘(language-name’);” in ‘wp-config.php’.
Ex.define (‘WPLANG’, ‘fr_FR’);
Many Thanks
- You must be logged in to reply to this topic.