0.36.0 • Published 5 years ago
@narando/lint-i18n v0.36.0
@narando/lint-i18n
A script to parse language locales and find not matching translation keys. This can be used to test your locale files at your cli tool
Usage
You need to have nodejs and npm installed.
$ npm -g i @narando/lint-i18nCommands
-V, --version output the version number
-d, --dir [directory] specify locales folder [./app/locales] (default: "./app/locales")
-h, --help output usage informationExample
This example is made with the fixtures which are used at the tests.
Commandline:
$ lint-i18n --dir ./tests/fixtures/locales/notEqualLocalesOutput:
Found 3 missing translation keys for language en_US:
ns2:text5
ns2:text6
ns2:text7Commandline:
$ lint-i18n --dir ./tests/fixtures/locales/equalLocalesOutput:
Yeahy! No keys are missing!0.36.0
5 years ago
0.35.0
5 years ago
0.34.1
5 years ago
0.34.0
5 years ago
0.33.0
5 years ago
0.32.0
5 years ago
0.31.0
5 years ago
0.30.0
6 years ago
0.29.0
6 years ago
0.28.5
6 years ago
0.28.4
6 years ago
0.28.2
6 years ago
0.28.0
6 years ago
0.27.0
6 years ago
0.26.1
6 years ago
0.25.0
7 years ago
0.24.1
7 years ago
0.24.0
7 years ago
0.23.0
7 years ago
0.22.2-alpha.2
7 years ago
0.22.2-alpha.1
7 years ago
0.22.2-alpha.0
7 years ago
0.22.1
7 years ago
0.22.0
7 years ago
0.21.1
7 years ago