summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-09-12 20:43:52 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-09-12 20:43:52 -0400
commit97f91c3f9f7fe677959ad306c8736dfeaa31d006 (patch)
tree2ff17551084766c10fde53c0ad231f83ea4d3132
parent4a3f26f1697a32231aaf185d1fa3e534fc0f13d3 (diff)
added python 3 variant
Former-commit-id: 19fdee98f6543f0ebddf75563b9ea55e872a0038
-rw-r--r--www/lang/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/lang/README.md b/www/lang/README.md
index a4129905..bf5f23f3 100644
--- a/www/lang/README.md
+++ b/www/lang/README.md
@@ -12,16 +12,28 @@ The best way is to simply look at an existing language translation and follow th
(replace ``-it`` with the language you are working on)
+Python 2.x:
``
./checklang.py -f locale-it.json -b
``
+Python 3.x:
+``
+./checklang.py3 -f locale-it.json -b
+``
+
This validates your JSON file, makes sure all keys are in sync with -en and if valid, creates pretty-locale-it.json. If you are sure it looks good,
+Python 2.x:
``
./checklang.py -f locale-it.json -b -o
``
+Python 3.x:
+``
+./checklang.py3 -f locale-it.json -b -o
+``
+
This validates your JSON file,makes sure all keys are in sync with -en and if valid, OVERWRITES your local file with a pretty formatted version, which is what you should PR