- Translations are stored inside the directory
app/Locales
- There is sub-directory for each language, by example for the French we have
fr_FR
, Italianit_IT
etc... - A translation is a PHP file that return an Array with a key-value pairs
- The key is the original text in english and the value is the translation for the corresponding language
- French translations are always up to date
- Always use the last version (branch master)
- Make a new directory:
app/Locales/xx_XX
by exampleapp/Locales/fr_CA
for French Canadian - Create a new file for the translation:
app/Locales/xx_XX/translations.php
- Use the content of the French locales and replace the values
- Inside the file
app/Model/Config.php
, add a new entry for your translation inside the functiongetLanguages()
- Check with your local installation of Kanboard if everything is ok
- Send a pull-request with Github
- Open the translation file
app/Locales/xx_XX/translations.php
- Missing translations are commented with
//
and the values are empty, just fill blank and remove comments - Check with your local installation of Kanboard and send a pull-request