summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@users.noreply.github.com>2016-08-18 16:52:45 -0400
committerGitHub <noreply@github.com>2016-08-18 16:52:45 -0400
commitd88047905eb2972e6a3a1e2dfd84268a2c1ca146 (patch)
treeeff68aaabf25b27c05b2df35b8dba2ca3a86796d
parentcb120b110fb062a19b73837cd812db243455ca11 (diff)
Update README.md
Former-commit-id: 19e5130114635033e0ccb323e6ac3eb8c0c43610
-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