UNPKG

@mediafly/translate

Version:

Translate strings extracted from apps using Google Translate

18 lines (13 loc) 731 B
# mediafly-translate ## Setup Below is a description about how to use these files: Place `mediafly-translate.config.json` at the root of your project. Configure this file with appropriate credentials. Create a folder called `translations` at the root of your project. Create a file called `locale-en.json` in the `translations` folder. *Advanced*: You can also create a folder named `locale-en` and place an `index.js` in it and export out a CommonJS module. ## Usage Commands: - Install: `npm install git+ssh://git@bitbucket.org/mediafly-team/mediafly-translate.git#v3.6.0 -g` - Run Google Translate: `mediafly-translate translate` - Export: `mediafly-translate export` - Import: `mediafly-translate import`