# Translations
While PanelAlpha defaults to English, its client area is fully customizable and can be translated into any desired language.
# Language files
Language files are stored in the /opt/panelalpha/app/packages/api/resources/lang
directory. Within this directory, you will find subdirectories for each language available for selection in the application. By default, the directory contains the en file, which includes all the language files for English.
The structure of the exemplary en directory should be as follows:
api - directory containing translations for messages from the API.
clientarea/translation.json - translations for the client area.
email_templates - email templates that can be edited either directly in the file or via the admin area.
auth.php, pagination.php, passwords.php, validation.php files
To add another language, the admin simply needs to create a new directory in /opt/panelalpha/app/packages/api/resources/lang, for example de and place the translated content into the target language. Language files are just a board that contains the correct keys and values. Remember to edit only the particular values from the board (right side), leaving the keys unmodified (left side).
Once such translation is ready and uploaded, the custom language will be available for use in your client area. Note that there are no limitations; you may upload a translation for any language of your preference. Additionally, based on the language name, RTL (right-to-left) direction is detected and adjusted automatically.
# Changing the client area language
Admin Area The language for the client area can be changed in two ways. Either by the administrator in the Configuration → General → Client Area → Default Language section. The language selected here will be set as the default for all your clients.
Client Area Your clients may set up their own language preferences and select a language for their own usage when logging in to the client area. Just find the dropdown menu and select a preferred language.
The alternative option for clients to change the language is located in the footer of the client area. Find it at the very bottom of the page.