-
Notifications
You must be signed in to change notification settings - Fork 78
Help to translate
Obihörnchen edited this page Apr 6, 2017
·
6 revisions
You can help to add translations for Worldopole in your language.
All you have to do is:
- Create a new directory with your language code in
core/json/locales/
- Copy the two files
core/json/locales/EN/{translations,pokes}.json
to your new directory - Translate all key-value pairs
- Do tests with your installation
- Submit a pull request 👍
Note: You don't have to translate everything. Partial translations will work as well.
Thank you!
Tip: Search for missing translation string with the following command
cd core/json/locales; for i in */translations.json; do echo; echo "### Language: ${i%/*}"; missing=$(awk '{print $1}' EN/translations.json $i | sort | uniq -u); echo "### Missing: $(echo "$missing" | wc -l)"; echo "$missing"; done