![]() ![]() You’ll also want to go to your WordPress dashboard and save any Hybrid Settings because those might have changed. Head over to the WordPress admin panel > Settings > General tab and ensure that your desired language is selected from the Site Language dropdown. Now you can use the theme in your language! Then, you’ll want to set your language in wp-config.php, like this: define ('WPLANG', 'fr_FR') Then, you’ll need to make sure your wp-config.php file matches your language files.įor example, if using a French translation, you’ll need to add the fr_FR.po and fr_FR.mo files to your theme folder. To use a translation, you first need to add the. A list of language codes can be found at WordPress in your language.įor example, English is en_EN, so I would save the translation as en_EN.po first. Step 1: Download the MD.pot file from the Members Area Get the Starter Translations Template Step 2: Translate Strings With Poedit Step 3: Save. You must save this according to your language code. Once you’ve translated the theme, you’ll want to save it two times. Then, you type it in your language at the bottom of the screen. You must first click the text string you want to translate. The free Poedit default version supports manual scanning of all source code with Gettext functions. This is an open source tool for all major OS. ![]() Open it.įrom this point, you must go through every line of text and translate it to your language. Poedit You can also use Poedit locally when translating. What is Poedit To keep your website safe, we suggest translating its content and putting it into a child theme instead of changing the parent theme directly. To translate the theme, you need to find the file named en_EN.po located in the hybrid theme folder. Once you have Poedit, you’ll be ready to translate. Poedit Poedit is a software (available for Windows, Mac and Linux) which you can use to translate the theme or plugin. Follow the instructions on its website to install the tool. The only tool you need for translating a WordPress theme is Poedit. You need to translate 2 files - one for the MyHome Theme and another one for MyHome Core Plugin, because we use the concept of plugin territory - (if you. Membership offer (get a free membership by translating). ![]()
0 Comments
Leave a Reply. |