[wp-polyglots] generate .mo file

Nikolay Bachiyski nbachiyski at developer.bg
Sat Sep 17 19:53:53 GMT 2005


eugen wrote:
> i would like to know what are you using to generate the .mo files..i 
> have tried severals programs and no luck...roseta doesnt generate mo 
> files,po edit the same and kbabel doesnt exit anymore ...gettext it is 
> very hard to use ...so what are you using?thanks in avance
> 

I actually use poedit <http://www.poedit.org/>, which usually succeeds 
in generating mo files :)

Do you think typing 'msgfmt -o target.mo source.po' falls under the 
'very hard to use' category? Yes - that is the only thing you must do in 
order to obtain a .mo file from a po and the po using gettext. You could 
generate the po using your favorite (and obvoiusly 
generating-no-mo-files-for-now) translating program like kbabel, poedit 
etc. and then... 'msgfmt -o target.mo source.po' and you get the mo.

Nikolay.




More information about the wp-polyglots mailing list