• Resolved ngungo

    (@ngungo)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thread Starter ngungo

    (@ngungo)

    Thanks! I got it now. I changed the wordpress.mo to vi.mo, it works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘.mo file – What next’ is closed to new replies.