** README Translations **
| Name | Type | Description |
|---|---|---|
translations/messages.de.php |
PHP source | translations for German |
translations/messages.en.php |
PHP source | translations for English |
The translation files are located in the sub directory translations . The translation mechanism loads all files in this directory that comply with the pattern messages.[language].php, whereby language is one of the ISO 639-1 two-letter codes, for example en or de.
messages.de.php and messages.en.phpYou may change the texts on the right side (after the characters =>).
You may translate the whole interface to a new language by copying an existing translation file, renaming the new file to messages.[new language].php (for example messages.fr.php) and just translate all the texts on the right side (after the characters =>) into the new language (for example French).
Pay attention to the encoding of the new file: it must be UTF-8.
Afterwards you must add the new translation to the constructor of the class QrbTranslator by calling addResource() with the new file.