5/20/2023 0 Comments Translate a wordpress theme poedit![]() So, just like Jupiter X theme, install LocoTranslate, and navigate to Loco Translate -> Plugins from the side dashboard and then chose Raven. The only difference is that it’s a plugin. Translating the Raven plugin is also like the Jupiter X theme. So, for translating Breadcrumbs, Menu navigations, Shopping Cart and etc if the translation didn’t work on Jupiter X theme, you may need to check the source of those words and if you were using Raven elements to show them, you would need to translate Raven plugin to translate them. This applies to all the elements that are available in the Jupiter X and Raven as well. When you use a custom header with Shopping Cart element inside it, you would need to translate it in Raven, because the text domain in use is different than Jupiter X. ![]() For example, there are two Shopping Cart words: one in the Jupiter X theme and the other is inside Raven. Some of the texts are also included in the Raven plugin. Installing the Loco Translate Pluginġ. From the WordPress left menu, go to Plugins > Add New.Ģ. Search for Loco Translate and click Install Now. This plugin is free and an excellent plugin for translation management. Now we’ll explain another method of the translation process using the Loco Translate plugin. po file, you need synchronize it with the new jupiterx.pot as described here. Also if after theme update you see some new non-translated strings on frontend, and they are not visible in your. Note: You may notice after theme update some translation is not working on frontend, in this case you need update your. Click Yes to override the existing language files if necessary. If your website is on a localhost, skip this step.Ģ. Go to your-website-index/wp-content/themes/jupiterx-child/languages folder and paste your translated files that have the. To move your translated files into your website language folder:ġ. Access your website index via the (S)FTP software by entering your (S)FTP login credentials. Alternatively, find the text by going to Edit > Find or use the Control + F shortcut keys for Windows and Command + F for Mac.ĥ. Write the translated text below the field.Ħ. Check WP Locale table to find your language prefix.Ĥ. Select the line that you want to translate. Note: To find the language code list for your translation file, you can check this page. ![]() The language file extension (.po) will be added automatically. Note: You will open jupiterx.pot file (the default Jupiter one) and save it to your language prefix, and translate.ģ. Go to Files > Save As to name it according to your target language and click on Save.įor example, in case you want to create a translation file for Spanish (Argentina), name your file as es_AR. Alternatively, you can use the Control + O shortcut keys for Windows and Command + O for Mac. So your new language file will be your-website-index/wp-content/themes/jupiterx-child/languages.ģ. Add the following code in functions.php file in the child theme: (you can skip this part if you are using an updated version of Jupiter X) function jupiterx_child_theme_translation() add_action( 'after_setup_theme', 'jupiterx_child_theme_translation' ) Translating the ThemeĢ. Open up the PO file that you copied into your child theme under the languages folder by going to the Files > Open menu. To find the translation file of your website:Ģ. Go to your-website-index/wp-content/themes/jupiterx/lib and copy and paste the languages folder into the your-website-index/wp-content/themes/jupiterx-child folder. Finding and Configuring the Translation File Contrary to other translation methods using plugins, this method requires the Poedit software, a handy computer software that is used for the translation of language files.
0 Comments
Leave a Reply. |