summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-08-18 16:53:28 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-08-18 16:53:28 -0400
commit77dfe309c52cf1f86ed61b819131a919c018fc03 (patch)
tree0b45453ed3c4eda034ef858761f1a863f779816d /www
parent890396d763d613d76aee9a3d9af3850116a0ebf8 (diff)
parentd88047905eb2972e6a3a1e2dfd84268a2c1ca146 (diff)
Merge remote-tracking branch 'origin/master'
Former-commit-id: ba641fc07e6a00c6324c1bf4a42f6a3ccbbd2a43
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