Forums

change language how-to? (4 posts)

  1. Anonymous
    Unregistered
    Posted 7 years ago #

    it seems that there are several threads about what people tried to set up WP with a language file. Is there an official docu on that?
    How do I install a different language?

  2. midori
    Member
    Posted 7 years ago #

  3. moshu
    Member
    Posted 7 years ago #

    Download the .mo file for your language from the link above.
    Open your config.php file in a text editor (remember: never use word processors like MS Word for editing the files!) and find this around line 15:
    define ('WPLANG', '');
    Edit this line according to the .mo file you've just downloaded, e.g. for the Portuguese spoken in Brazil you must add:
    define ('WPLANG', 'pt_BR');
    Save it.
    Go to your installed WordPress (i.e. your server or your hosted account) and create a directory (folder) in your /wp-includes directory and name it /languages. Upload the .mo file there.
    Don't forget to upload the modified config.php file into the WordPress root directory.
    Open your browser and go to your WordPress URI (address). It should display in the newly installed language.

  4. Anonymous
    Unregistered
    Posted 7 years ago #

    thanks! I didn't read all careful enough and placed the mo file in the wrong directory whereas it didn't work.
    Now it works fine...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.