I am lost in the documentation. Please help!
I need to localize some English words to Vietnamese since there isn't any Vietnamese mo file yet. I use PoEdit to edit the wordpress.pot file then compiled to wordpress.mo file. Now, what is next?
I am lost in the documentation. Please help!
I need to localize some English words to Vietnamese since there isn't any Vietnamese mo file yet. I use PoEdit to edit the wordpress.pot file then compiled to wordpress.mo file. Now, what is next?
You have to define the language in wp-config.php:
define ('WPLANG', '');
The Spanish language one looks like this:
define ('WPLANG', 'es_ES');
Look for examples in the codex.
Also you have to put the .mo file in a language folder inside the includes folder.
The only thing I'm not sure about is if it should be called wordpress.mo.
Thanks! I got it now. I changed the wordpress.mo to vi.mo, it works.
This topic has been closed to new replies.