I18n-cli is command line interface for https://www.i18n.dev.
I18n.dev is a I18n management application that allow user to manage text, words, and sentence in software development for multiple languages.
Global installation:
npm i -g i18ndev-cli
Local installation:
npm i i18ndev-cli
-
Create project at https://www.i18n.dev
-
Generate token at project setting
-
Create
.i18nrc
in your project with content below:token=xxxx
-
Run command line
i18n download
-
Check version
i18n -V
ori18n --version
-
Help
i18n -h
ori18n --help
-
Download profile from https://www.i18n.dev
i18n d
ori18n download
--url
or-u
specify path that you want to store json file. Default will be current directory from terminal. Example:i18n d -u /assets
--profile
or-p
specify the profile that you want to download. Default is ALL. Example:i18n d -p en -u /assets
-
Init I18n.dev (In-progress...)
-
Login I18n.dev (In-progress...)