1.0.0 • Published 6 years ago
@kalamazoo/i18n-tools v1.0.0
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_TOKENenvironment variable. You can obtain a token from here. - This tool will technically work on
JSpackagessrc/files, but will not work inTypescriptsrc/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.
1.0.0
6 years ago