- lang - String
Lang id.
Default value:en
Load translation
- lang - String
Lang id.
- file - String
File path
Remove translation.
- lang - String
Lang id.
Select translation.
- lang - String
Lang id.
String translation.
- String - String
Create en.po files with nodejs-i18n
. Add in your package.json
"scripts": {
"i18n": "find . | grep .js | sort | nodejs-i18n > en.po"
}
and run $ npm run i18n
or $ yarn i18n