1.0.3 • Published 6 years ago

crm-i18n_crowdin_react v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

i18n-crowdin

Original source: https://github.com/peregrinogris/i18n-crowdin

Add the following config in package.json

"i18n": {
  "crowdin": {
    "apiKey": "yourApiKey",
    "project": "yourProjectName",
    "marker": "i18n", // Optional
    "files": "**/*jsx", // Optional
    "destFolder": "." // Optional
  }
}

The parameters marker, files and destFolder are optional, this example show the default values

npm run crowdin-upload

npm run crowdin-download

This generates i18n-$lang-$country.js files, for example i18n-pt-BR.js, i18n-en-US.js, etc

https://github.com/gurbieta/i18n-translator has a mini-lib to read this files and adds calls to i18n.tr and i18n.trn

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago