summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/lang/README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/lang/README.md b/www/lang/README.md
index 75e86e2b..a4129905 100644
--- a/www/lang/README.md
+++ b/www/lang/README.md
@@ -1,3 +1,9 @@
+####Adding a new language
+* To contribute a new language, add a new ``locale-xx.json`` (where `xx` is your language code).
+* Ideally, you should also provide a language translation for the zmNinja help file inside ``lang/help``
+
+The best way is to simply look at an existing language translation and follow the same model for yours. If any language translation keywords are missed, it will fallback to English.
+
####Main Language file
* Make sure there is no comma after the last element
* Comments are not allowed
@@ -27,4 +33,4 @@ This validates your JSON file,makes sure all keys are in sync with -en and if v
####How to recognize a new language:
(This is only for zmNinja developers. Not relevant for language translators)
* Modify languages array in DataModel.js
-* register language glob code in app.js - make sure its added to array list and mapping \ No newline at end of file
+* register language glob code in app.js - make sure its added to array list and mapping