💡 What it does?
CLI will find i18n keys in you source code which are used by your library and push them to the cloud, where you will be able to translate keys and publish to the CDN and download in desired format.
For example to translate frontend application in ReactJS you can use yahoo/react-intl which looks like follows:
Thanks to SimpleLocalize command line tool, key:
LOGIN will be pushed to the SimpleLocalize cloud, where you will be able to translate this key into multiple languages, and publish it to the CDN or download in desired format.
- Create a new project
- Go to project settings and download configuration file
simplelocalize.ymlfile in project root directory
projectTypeproperty. Show available projectType values
- Run in terminal
$ cd ~/MyProject #same place where the simplelocalize.yml is $ curl -sL https://cdn.simplelocalize.io/cli/simplelocalize | bash
clientId: <YOUR_CLIENT_ID> clientSecret: <YOUR_SECRET> projectToken: <PROJECT_TOKEN> projectType: <SEE_SUPPORT_LIST>
🔌 Supported libraries
- Request library support here!
- Standard Android internationalization
- Standard iOS internationalization