WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] .mo file - What next (3 posts)

  1. ngungo
    Member
    Posted 7 years ago #

    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?

  2. Samuel B
    moderator
    Posted 7 years ago #

    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.

  3. ngungo
    Member
    Posted 7 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic