Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #2393426
Translation files .po & .mo on child theme not working
Closed

Comments

  • ANDREAS PETRAKIS started the conversation

    Hi, I have downloaded and translated the thrgem.pot file to greek and created the .po & .mo files. 

    Puting .mo & .po files in folder "languages" in child theme  doesn't work. It works only on the default languages folder under theme.

    It should also work putting these files on child theme to avoid future theme updates. 

    Can you fix this?  


  •  7,092
    Oliver replied

    Hi,

    We recommend to use Loco Translate plugin for the theme translation or you can translate theme manually with .po file, pls. follow the instructions: 

    1. Take file languages/thegem.pot or xx_YY.po from theme directory.

    2. Open this file with Poedit software.

    3. Translate necessary strings to your language.

    4. In software open Catalog - Settings and set Language to Translation to xx_YY.

    5. Then save the file as thegem-xx_YY. (You must have two files thegem-xx_YY.po and thegem-xx_YY.mo.)

    6. These files you need to put to the wp-content/languages/themes of your site.

    With the same operation, you can translate TheGem elements plugin.

    Just put  translations in wp-content/languages/plugins

     

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver