diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/cli.markdown | 3 | ||||
-rw-r--r-- | docs/translations.markdown | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/docs/cli.markdown b/docs/cli.markdown index b742e0ac..21183177 100644 --- a/docs/cli.markdown +++ b/docs/cli.markdown @@ -36,6 +36,9 @@ export export:subtasks Subtasks CSV export export:tasks Tasks CSV export export:transitions Task transitions CSV export +locale + locale:compare Compare application translations with the fr_FR locale + locale:sync Synchronize all translations based on the fr_FR locale notification notification:overdue-tasks Send notifications for overdue tasks projects diff --git a/docs/translations.markdown b/docs/translations.markdown index faa715c7..7a4e325b 100644 --- a/docs/translations.markdown +++ b/docs/translations.markdown @@ -6,7 +6,7 @@ How to translate Kanboard to a new language? - Translations are stored inside the directory `app/Locale` - There is sub-directory for each language, by example for the French we have `fr_FR`, Italian `it_IT` etc... -- A translation is a PHP file that return an Array with a key-value pairs +- A translation is a PHP file that returns 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) @@ -58,13 +58,14 @@ All formats are available in the [PHP documentation](http://php.net/sprintf). How to find missing translations in the applications? ----------------------------------------------------- -From a Unix shell run: +From a terminal, run the following command: ```bash -./scripts/find-strings.sh +./kanboard locale:compare ``` -All missing translations are displayed on the screen. Put that in the french locale and sync other locales (see below). +All missing and unused translations are displayed on the screen. +Put that in the French locale and sync other locales (see below). How to synchronize translation files? ------------------------------------- |