Skip to content
πŸ›  A command line interface for SimpleLocalize
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper
dist
src
.codecov.yml
.gitignore
.maven.xml
.travis.yml
LICENSE
README.md
mvnw
mvnw.cmd
pom.xml

README.md

logo

Build Status Maintainability codecov Gitter

πŸ’‘ 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:

<FormattedMessage id="LOGIN"/>

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.

πŸš€ Usage

$ cd ~/MyProject #same place where the simplelocalize.yml is
$ curl -sL https://cdn.simplelocalize.io/cli/simplelocalize | bash

Example simplelocalize.yml

clientId: <YOUR_CLIENT_ID>
clientSecret: <YOUR_SECRET>
projectToken: <PROJECT_TOKEN>
projectType: <SEE_SUPPORT_LIST>

βœ… SEE SUPPORTED LIBRARIES LIST

πŸ”Œ Supported libraries

πŸ‘©β€βš–οΈ License

MIT Β©

You can’t perform that action at this time.