Version: 1.4.8
Locales (Languages)
Manage the languages available to OpenPanel users.
Install Locale
By default, only the EN locale is installed. To enable other locales, they must be installed first.
- With OpenAdmin
- With OpenCLI
To install a locale, go to OpenAdmin > Settings > Locales and click the Install button next to the desired locale.
To install a locale from the terminal, use its locale prefix from Github and run:
opencli locale <LOCALE_HERE>
Example: Install Turkish locale:
opencli locale tr-tr
Example: Install multiple locales at once:
opencli locale sr-sr tr-tr zh-cn
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:
- Fork the translations repository.
- Copy the
en_us
folder to a new locale folder, e.g.,es_es
. - Translate the
messages.pot
file. - Submit a pull request.
Was this helpful?