0.7.1 • Published 4 years ago

@atlaskit/i18n-tools v0.7.1

Weekly downloads
6
License
Apache-2.0
Repository
-
Last release
4 years ago

i18n-tools

This is a tool for extracting, pulling and pushing i18n translation strings from React components.

It works using the babel-plugin-react-intl, babel-plugin-react-intl-pot and transifex to generate POT and push it to Transifex.

Some notes to consider:

  • This tool expects a TRANSIFEX_API_TOKEN environment variable. You can obtain a token from here.
  • This tool will technically work on JS packages src/ files, but will not work in Typescript src/ files. For that reason, we recommend pointing it at the built ./ directories instead.

Usage info can be found by running the tool with the --help flag.