Translating Themes

Themes Forums Everest WordPress Theme Translating Themes

  • Author
    Posts
  • #652
    themex
    themex
    Member

    How to translate any word in wordpress theme:

    1. Download POEdit http://www.poedit.net/ and open yourtheme/lanuages/en_US.po in it. Yourtheme is the name of the theme that you use.

    2. Translate or change any words using POEdit.

    3. Click “Save”, you will see that en_US.mo file has appeared in the same folder.

    4. Rename en_US.po and en_US.mo to the language code of your wordpress (for example if your wordpress is in russian language then rename files to ru_RU.po and ru_RU.mo, find your code here http://codex.wordpress.org/WordPress_in_Your_Language).

    5. Upload this files to the/ wp-content/yourtheme/languages folder on your site.

    #1212

    byjessica1
    Member

    Hello themex,

    My problem is that I don´t see the en_US.mo file, I only have the en_US.po which I renamed to es_ES.po but it is not working

    Can you advise me please

    #1213

    byjessica1
    Member

    I also add to make clear my last question that when I saved some translatiosn using Poedit

    3. Click “Save”, you will see that en_US.mo file has appeared in the same folder.

    This did not happen

    #1214
    themex
    themex
    Member

    Hi, please make sure that you’ve looking for it in the same folder where you’re editing the en_US.po file, en_US.mo will be generated when you click save (if you’ve changed words in en_US.po file), then rename this file to es_ES.mo and upload to wp-content/themes/yourtheme/languages folder.

    #1219

    byjessica1
    Member

    Thanks for the rapid replay but that file is not generate yet, I still only the es_ES.po file in /wp-content/themes/midway/languages.

    But  I do have the es_ES.mo file in /wp-content/languages. Do I have to copy this file into /wp-content/themes/midway/languages?

     

    #1220
    themex
    themex
    Member

    No, this is global wordpress file. Open file en_US.po (on your computer in POEdit, not on the server), then change the words and click Save, you will see en_US.mo near the en_US.po (not in /yoursite/wp-content/themes/midway/languages), then rename .mo file and upload it to your server.

    #1222

    byjessica1
    Member

    Thanks a lot for your help…. Now is perfect

     

    #1860

    vdarend
    Member

    Thnx

    #3330

    lsmith1974
    Member

    I have downloaded POEdit from the link you shared above (several times), however, when I click on it to Run the program it does not do anything.

    Do you have another option?

    Thank you,

     

     

    #3377
    themex
    themex
    Member

    Hi, what OS do you have? Make sure you’re downloading installer for your OS (Windows, Linux, or MacOS).  Also you can sue this online editor https://poeditor.com/

    #4824

    Hello Themex.  I am ahving a similar issue however i followed all the steps above and when it came time to upload my saved language file form my desktop to the filemanager on the hosting site it would not let me select a US_En.po or mo to be uploaded.  Thoughts on what the problem may be?

    #4851
    themex
    themex
    Member

    Hi, try using some FTP client, for example FileZilla https://filezilla-project.org/ Built-in hosting FTP manager may forbid uploading these files for security reasons.

    #5405

    franzruchti
    Member

    hi

    i have a problem with the language change to german….

    i made:

    1. i translated local the file en_US.po in the program POEditor
    2. i go to “export” and choise select typ “po”
    3. then i safe it again as a select typ “mo” (right? it will not automatically create…..)
    4. re-write to de_DE.po and de_DE.mo
    5. Upload this files to the/ wp-content/yourtheme/languages folder
    6. i change in the wp-config.php from WPLANG to “de_DE”

    Nothing happens……can you help?  do you have perhaps the files de_De.po and de_De.mo…or do you make premium support…

    #5421
    themex
    themex
    Member

    Hi, i suggest using some translation plugin, it’s much easier than changing .po files. Try using codeStyling http://wordpress.org/plugins/codestyling-localization/ or qTranslate http://wordpress.org/plugins/qtranslate/

    #5436

    franzruchti
    Member

    hi themex

    thank you very much for your great answer! i’m very happy now! thank you, that you answer my question so fast (weekend!!). thanky you!

    franz ruchti

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.