Support » Fixing WordPress » How & where to edit wp-config.php file

  • 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…

Viewing 1 replies (of 1 total)
  • Moderator keesiemeijer


    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.

    Download the Norwegian language files here.

Viewing 1 replies (of 1 total)
  • The topic ‘How & where to edit wp-config.php file’ is closed to new replies.