If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Tagged: translation. translate
July 20, 2013 at 2:49 pm #26507
I need to translate my enfold theme to portuguese, not the builder or anything like that, only some words that the viewers will have to deal with, like: ” search”, “posted by”, ” leave a reply”, things like that.
I´ve being reading the support forum, but I cannot find a way to do that. I´ve tryed a few plugins that some of you recomended: Code Localization, (this one seams nice, but even after I edited the .mo files I do not know what to do with it.
The other one, WPML, is a paid multilanguage, not what I need.
Can you help me? Is there a tutorial that we can watch or a step by step tutorial?
Fabiana.July 21, 2013 at 6:27 am #130662
Please use Codestyling: http://wordpress.org/plugins/codestyling-localization/ to translate the missing text strings. Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and click on “Add new language”. Then select PT_BR from the list and click the “create po-file” button. Click on “Rescan” to fetch all text strings. Then click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner).July 21, 2013 at 1:01 pm #130663
Thank you for you response. I´ve already did all this up to create the .mo file, but still not working. Do I have to copy this file and upload by ftp? If so, where do I copy this file from?
How do I make pt-br my first language for the theme? I´ve seen that the theme already comes with the German tranlation, so the question is how to choose the enfond language?
I´ve posted some screenshots of what I did in the following page:
Thank you again.
Fabiana.July 23, 2013 at 5:53 am #130664
1) No, normally not. But you can check if the file is located in the right folder. Go to wp-content/themes/enfold/lang/ and make sure that pt_BR.po and pt_BR.mo are inside this folder.
2) How do I make pt-br my first language for the theme? – You must set the wordpress language to pt_br. This can be done by setting the WPLANG constant in wp-config.php: http://codex.wordpress.org/Editing_wp-config.php#Language_and_Language_Directory
You can find all supported languages here: http://codex.wordpress.org/WordPress_in_Your_LanguageJuly 23, 2013 at 3:39 pm #130665
My wordpress was already in Portuguese.
Thank you for trying to help me, but I only managed to do the translation using poedit and uploading the file by FTP, I still not nowing why the Codelocalization pluging did not work. Anyway, maybe poedit is the best way.
The topic ‘Translate to PT-BR’ is closed to new replies.