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

  1. kholtar
    Posted 2 years 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
    Posted 2 years 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.


    Download the Norwegian language files here.

Topic Closed

This topic has been closed to new replies.

About this Topic