November 19, 2020 at 9:00 pm #52060JOHN OVERBAUGHParticipant
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?
November 20, 2020 at 9:31 am #52080developer vwthemeParticipant
- This topic was modified 2 years, 10 months ago by JOHN OVERBAUGH. Reason: Adding clarification
To change the language of WordPress frontend, backend, and theme settings. Follow the following steps
1)Download the GTranslate plugin.
2)Install and activate the plugin.
3) Go to plugin/GTranslate/settings
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.
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’);
- You must be logged in to reply to this topic.