Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I modified a .po file, basically I opened as txt file and made the changes, however I uploaded it and is changes are not working.

I wonder if I need an special software for doing and generate a new .mo each time I make a change, or what am I missing?

Thank in advanced

share|improve this question
    
This question is not WordPress-specific. –  Chip Bennett Jan 24 '12 at 17:20
1  
Try this - stackoverflow.com/a/15660147/2215124 There you will see the necessary steps to successfully translate. –  guests Mar 27 '13 at 18:06

3 Answers 3

up vote 1 down vote accepted

You need to do "msgfmt" using the command line tool to convert the .po to a .mo, that is what Wordpress (and all gettext compliant software) uses.

share|improve this answer

If you are using windows you can use Poedit to edit this files and generate .MO files.

If you want to translate the best way is by creating a new "Catalog", with te correct name. Generating new files (i.e: pt_BR.po & pt_BR.mo), and keeping the original file.

share|improve this answer

http://codex.wordpress.org/Translating_WordPress suggests various tools including http://www.poedit.net/ which I found made editing plugin language files a lot easier...

share|improve this answer
    
thanks! I will take a look! –  andresmijares25 Jan 25 '12 at 3:16
    
I've just been reminded of a handy plugin which might be also be worth a look: wordpress.org/extend/plugins/codestyling-localization although I haven't tried it.... –  Aces Jan 25 '12 at 3:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.