Skip to main content
Version: 2.0.11

Locales (Languages)

Manage the languages available to OpenPanel users.

Languages page listing locales with their provider, install status, default and Set as Default buttons Languages page listing locales with their provider, install status, default and Set as Default buttons

Install Locale​

By default, only the EN locale is installed. To enable other locales, they must be installed first.

To install a locale, go to OpenAdmin > Settings > Locales and click the Install button next to the desired locale.

To install every available locale at once, click Install All at the top of the page. This downloads all locales from GitHub (about 11 MB in total) and re-downloads ones that are already installed, so it also updates them. Once finished, a notification lists which locales were installed and which failed.

Update Locale​

Each time the Locales page is opened, OpenAdmin compares every installed locale file with the latest version on GitHub. If a newer version exists, a notification lists the locales with updates, the locale shows an Update available badge, and an Update button appears in its Actions column.

Click Update next to a locale to download its latest version, or click Update All at the top of the page to update every outdated locale at once. Update All is only shown when at least one update is available.

Delete Locale​

Click Delete next to an installed locale and confirm. The default locale can't be deleted; set another locale as default first.

INFORMATION

Users who had selected a deleted locale will see untranslated (English) text instead.

Default Locale​

To make a specific locale the default, go to OpenAdmin > Settings > Locales and click the Set as Default button next to the desired locale.

INFORMATION

Changing the default will not automatically update existing users’ settings; their browser preferences and account configurations will take precedence. For more details, see How-to Guides > Setting the Default Locale.

Edit Locale​

To edit a locale, click the GitHub icon next to it in the table. This opens the source on GitHub, where you can fork the repository and edit the translation file.

Create a Locale​

To create a new locale:

  1. Fork the translations repository.
  2. Copy the en_us folder to a new locale folder, e.g., es_es.
  3. Translate the messages.pot file.
  4. Submit a pull request.