Skip to content
Find and push i18n keys from your application
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
src/main
.gitignore
README.md
mvnw
mvnw.cmd
pom.xml

README.md

SimpleLocalize i18n key scrapper

How this work?

Application will find all keys which are used by https://github.com/yahoo/react-intl. Like:

<FormattedMessage id="some_key"/>

or

intl.formatMessage(defineMessages({
  id: "some_key"
});

Keys will be pushed to the SimpleLocalize cloud, where you will be able to manage translations for multiple languages with ease, and publish them to our CDN.

Consider use of react-intl-simplelocalize for the best experience.

Install

//work in progress

Download latest version: https://github.com/simplelocalize/simplelocalize-i18n-key-scrapper/releases

Configuration

  • Create account here: https://simplelocalize.io
  • Create example project and copy project hash from project settings
  • Create app and copy credentials

Put simplelocalize.properties config file in same directory with simplelocalize-1.0.0.jar and fill with your credentials.

# simplelocalize.properties example
searchDir=/Users/{YOUR_NAME}/Workspace/MyProject/src
clientId=xxxxxxxxxxxxxxx
secret=xxxxxxxxxxxxxxxxxxxxxx
projectHash=xxxxxxxxxxxxxxxxxxxxxxx

Usage

java -jar simplelocalize-1.0.0.jar

Application will find all i18n keys and push them to SimpleLocalize cloud.

Further work

  • Add easier option to install (bundle with Java)
  • Support more project types

License

MIT ©

You can’t perform that action at this time.