WordPress.org

Ready to get started?Download WordPress

Forums

How & where to edit wp-config.php file (2 posts)

  1. kholtar
    Member
    Posted 1 year ago #

    Hi! I have used WP, hosted on Dreamhost, for a year now, and it has been set up with English as default language. However, I need to change the language into Norwegian, and hence need to edit the wp-config.php file. But where do I do it - and how? All I can see is that there are big warnings to do this, especially for an amateur like me...

  2. keesiemeijer
    moderator
    Posted 1 year ago #

    Make a backup of your wp-config.php.
    In the wp-config.php file there is this line:

    define('WPLANG', '');

    You need to edit it with the Norwegian language code (Nynorsk "nn_NO" or Bokmål nb_NO). example:

    define('WPLANG', 'nn_NO');

    On your site server, create a new folder in your /wp-content directory called /languages. Upload the Norwegian .mo (language) file to the languages folder you just created.

    http://codex.wordpress.org/Installing_WordPress_in_Your_Language

    Download the Norwegian language files here.

Topic Closed

This topic has been closed to new replies.

About this Topic