azurewordpress

Modify the interface language

NOTE: We are in the process of modifying the file structure and configuration for many Bitnami stacks. On account of these changes, the file paths stated in this guide may change depending on whether your Bitnami stack uses native Linux system packages (Approach A), or if it is a self-contained installation (Approach B). To identify your Bitnami installation type and what approach to follow, run the command below:

 $ test ! -f "/opt/bitnami/common/bin/openssl" && echo "Approach A: Using system packages." || echo "Approach B: Self-contained installation."

The output of the command indicates which approach (A or B) is used by the installation, and will allow you to identify the paths, configuration and commands to use in this guide. Refer to the FAQ for more information on these changes.

Bitnami WordPress comes with English translations pre-installed currently. To change the WordPress language, follow the steps below:

Change language using the WordPress administration panel

If the language you wish to use is already available in WordPress, follow these steps:

  • Log in to the WordPress administration panel.

  • Click on the “Settings -> General” tab located in the menu on the left.

  • Scroll down until “Site Language” and select the one you prefer and click .“Save Changes”.

    WordPress change language

Change language manually

If the language you wish to use is not available in WordPress, you must first install the necessary translation files:

  • Download the translation files for your language from http://codex.wordpress.org/WordPress_in_Your_Language

  • Once you have downloaded the files, copy the .po and .mo files into the WordPress languages directory. If this directory does not exist, create it manually.

    NOTE: Depending on your installation type, the WordPress languages directory can be found in the following locations:

    • Approach A (Bitnami installations using system packages): /opt/bitnami/wordpress/wp-content/languages

    • Approach B (Self-contained Bitnami installations): /opt/bitnami/apps/wordpress/htdocs/wp-content/languages

  • Log in to the WordPress administration panel.

  • Click on the “Settings -> General” tab located in the menu on the left.

  • Scroll down until “Site Language”. The newly-installed language should now appear in the list. Select it and click “Save Changes”.

    WordPress change language

  • Restart the web server using these instructions.

Last modification September 7, 2021