Change language in WordPress

This Loopia WordPress guide shows how to change the site language (locale) of a WordPress installation set up through our One Click Installer, for example switching between English and Swedish.

When you install WordPress from Loopia Customer Zone, the site language is automatically set to match the language of the Customer Zone you used (English or Swedish). You can change it at any time afterwards from inside WordPress.

Change the language from the WordPress dashboard

The quickest way to change language is from the WordPress admin (recommended for all modern WordPress versions).

  1. Log in to your WordPress dashboard at example.com/wp-admin.
  2. Go to Settings > General.
  3. Find the Site Language setting.
  4. Select your preferred language from the drop-down list, for example English (United Kingdom) or Svenska.
  5. Scroll down and click Save Changes.

WordPress will download the chosen language pack automatically and your site (and admin interface) will switch to the new language.

Change the language via wp-config.php (older versions)

On older WordPress installations you can also set the language by editing the WPLANG constant in wp-config.php. This method is only needed if you cannot reach the dashboard or are running an old version of WordPress.

Download an FTP client (file transfer program) such as FileZilla to your computer. Once connected to our FTP server, open the following file:

\example.com\public_html\wp-config.php

Look for a line that resembles one of these:

define('WPLANG', '');

or

define('WPLANG', 'en_US');

To switch to Swedish, change the line to:

define('WPLANG', 'sv_SE');

To switch to English, change it to:

define('WPLANG', 'en_US');

Save the file and upload it back to the same folder on our FTP server. Your WordPress site will now use the chosen language.

Was this article helpful?

Related Articles