@atlaskit/i18n-toolsdeprecated

A tool for extracting, pushing and pulling translation strings from react components

Usage no npm install needed!

<script type="module">
  import atlaskitI18nTools from 'https://cdn.skypack.dev/@atlaskit/i18n-tools';
</script>

README

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.