POC i18n with StencilJS
- Use the package manager to install project deps.
yarn && yarn bootstrap
# or
npm install && npm run bootrstrap
-
After installing the deps, we will now configure Crowdin. First you'll add
CROWDIN_PROJECT_ID
andCROWDIN_API_TOKEN
of yours Crowdin account in env of terminal (bash, zsh or other). -
Build all projects, just run into root directory
yarn build
-
Start Core app with
yarn start
-
Well done ๐
Build all projects
yarn build
Start Core app
yarn start
Upload new translations
cd packages/i18n
yarn i18n:upload
Download translations
cd packages/i18n
yarn i18n:download
- Adding new translation keys into
packages/i18n/src/configs/translations.json
- After just run
yarn i18n:upload
- The new translations will be on Crowdin
- Translate all terms on Crowdin
- Run
yarn i18n:download
to get the new translations - The new translations will be present on
packages/i18n/src/configs/en/translations.json
andpackages/i18n/src/configs/pt/translations.json
Look and test all demos into examples
folder