From 97f91c3f9f7fe677959ad306c8736dfeaa31d006 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 12 Sep 2016 20:43:52 -0400 Subject: added python 3 variant Former-commit-id: 19fdee98f6543f0ebddf75563b9ea55e872a0038 --- www/lang/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'www/lang') 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 -- cgit v1.2.3