With WordPress’ constant growth, it’s natural that its appeal will move far beyond its original borders, and now websites the world over rely on WordPress to deliver their content.
#Translate theme poedit install#
Now here we are more than ten years later, and WordPress holds the lion’s share of the total CMS install base, thanks in part to intuitive design and an ever-expanding list of features that makes it even more flexible, and the perfect choice for a range of websites. It may be hard to believe now, but once upon a time WordPress was just a simple blogging platform no-one really knew that it was going to take off the way it did. The same translation principle applies to WordPress Plugins as well.Homepage Customization Offer a translated WordPress theme with this in-depth tutorial Offer a translated WordPress theme with this in-depth tutorial Last Updated: July 16th, 2015 Category: Customization 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): 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 software#
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.