Georgia Lou Studios

Welcome to the Help Center!

Translate Theme in WordPress


Georgia Lou Studios's themes are written in English, though you are of course welcome to translate them to your language.

While it's possible to go through each theme file and manually translate the appropriate text elements, we highly recommend using the program Poedit to translate your theme. It's easy and will save you LOTS of time.

  1. First, go to WP Dashboard > Settings > General > Site Language > Select your language > Save.
  2. Then, download & install the Poedit program.
  3. Open Poedit and click the "Open" button on the top-left of the program screen.
    Within your theme's files, find the "lang" folder and select the "default.po" file.
  4. A long list of text elements you may translate will appear in the box labeled "Source Text". Please note: You may not need to translate all of these elements. Many may be WP notification messages or similar.
  5. Select the line within the "Source Text" box that you'd like to translate. When that line is highlighted, go down to the box labeled "Translation". Here, you can type the direct translation of the "Source Text" in whatever language you'll be using.
    Repeat this step for all of the "Source Text" elements you wish to translate.
  6. When done, go to "File" and "Save as" within your theme's "lang" folder.

    IMPORTANT! You must save this new file with a name based on a specific format: aa_AA

    The first "aa" refers to ISO 639 two-letter language code (list found HERE).
    The second "AA" refers to an ISO 3166 two-letter country code (list found HERE).

    ( Example 1 )
    If translating to Danish, we would use the Danish language code of "da" and the Danish country code of "DK". The file name must be the language code in lowercase letters, followed by an underscore character, and lastly the language code in uppercase letters. So the finished file name would then be: da_DK

    ( Example 2 )
    If translating to Brazilian Portuguese, your file name would be: pt_BR

    Note: For the French language in Canada, please use "fr_FR".
    "fr_CA" is not recognized by WordPress.
  7. When you save the file, it will automatically create your .po format as well as an additional .mo format file of the same name.
  8. You now need to install the translated version of your theme on your site. The easiest way is to use a plugin like Easy Theme and Plugin Upgrades.
  9. An alternative way to update your side is to use your FTP program, upload the .po & .mo files you just created to your theme's "lang" folder. Or you can upload the files via your CPanel File Manager. An alternative is to "update" your site with your newly translated theme by using a plugin like Easy Theme and Plugin Upgrades
  10. You're finished!

For more information regarding translating your theme's, check out:

Was this article helpful?
0 out of 0 found this helpful


Powered by Zendesk