AS application allows you to easily translate the whole interface to any language you want. All locales are simple
.php files located inside
Out of the box, there are 7 different locales that come with AS:
- Serbian (cyrillic) and
If you want to add new locale, all you need to do is to make copy of existing language file (en.php for example) located inside Lang directory, rename it to
ru.php for example, and translate it. Of course, since this translation file is organized as php array, you only translate those values to the right of
Next step you need to do is to add new flag (or organize it however you want), and create a link that will point to
?lang=ru, and that's it.
If you want to set up default application locale, all you need to do is to define it inside
ASConfig.php file, like following:
Note! You can name the language files however you want, but you must use the same name (without .php extension) when you define default language or change language by clicking the country icon.
For example, if you create a file named
es.php for Russian language, then you will use
es everywhere you need to set the language to spanish.