![translate theme poedit translate theme poedit](https://85ideas.com/wp-content/uploads/2015/07/1-PoEdit-main-window-1024x789.jpg)
Make sure that you saved the file in the correct format. Once done, remember to click File > Save As 5. Once the target language have been properly selected, you can now begin the translation. For the list of the language codes used by WordPress, please click this LINK. Your translation needs to follow this, or otherwise it won't work. Note: WordPress uses a language code for every language there is. Choose the target language of your translation. pot file in the folder of the theme/plugin you want to translate.ģ.
![translate theme poedit translate theme poedit](https://s3.amazonaws.com/docs-content.theme.co/resources/customizations/theme-translations/images/theme-translations-08.png)
Open the Poedit > Create new translationĢ. Once you have both, follow the instructions below.
TRANSLATE THEME POEDIT ZIP FILE
zip file of the theme or plugin downloaded from the Purchase History of your account it's usually found in the language folder. pot file of your theme or plugin - You can get this from the. You can use Poedit for any RTL language as well as Hindi.īefore translating, you will need the following:
TRANSLATE THEME POEDIT PRO
This software has a Pro version, but the free version should be sufficient for you to do the translation. This is available for Windows, Mac & Linux users and can be downloaded from. The same translation principle applies to WordPress Plugins as well.Poedit is a software that you can use to translate themes and plugins to your preferred local language. This skill is valuable if you want to adapt your website to your local language.
TRANSLATE THEME POEDIT HOW TO
Now you know how to translate your WordPress theme using Poedit translations editor. Open up wp-config.php file (it is located in your WordPress installation) and add the following line:ĭefine ('WPLANG', 'ZZZ'), where ZZZ is the name of the file you have used to save your translation ( lt_LT in this example):
![translate theme poedit translate theme poedit](https://translatepress.com/wp-content/uploads/2020/11/open-poedit.png)
Refer to this tutorial on how to upload files to your account. The directory should look similar to public_html/wp-content/themes/THEMEXXX/lang, where THEMEXXX is the name of your WordPress theme. mo file ( lt_LT.mo was generated automatically by Poedit) to the corresponding directory on your hosting account. po file you have saved in step 2 ( lt_LT.po in this example) and. Step 3 - Changing Your WordPress Website Language Once you have translated your theme, save the file ( lt_LT in this example) in the same directory as the original template: In the Translation section enter a desired translation of the source string: Highlight any string you want to translate: You are ready to translate your theme now. Next, from a dropdown menu select a language you want to translate your theme to: A Theme’s default translation template is located in THEMEXXX/lang/YYY.po, where THEMEXXX is the name of your theme and YYY – default language of the theme ( twentysixteen/lang/en_EN.po in this example): Open Poedit and select Create new translation:Ī new window will pop up, select WordPress theme you want to translate. Step 1 - Opening Your Theme’s Default Language Template
![translate theme poedit translate theme poedit](https://d33wubrfki0l68.cloudfront.net/e44b376daecc2bf6e593b462675a265e75322d38/62af2/images/screenshots/screenshot-ftp.jpg)
Poedit software installed on your computer.What you’ll needīefore you begin this guide you’ll need the following: This tutorial shows you how to translate any WordPress theme to your local language of choice. Most of the WordPress themes come with one and only language – English.