e7n-aws-translate
v1.1.0
Published
A script for loading Chrome extension messages.json files and generating translations.
Downloads
2
Readme
🌍 e7n + AWS Translate
A script for loading Chrome extension messages.json files and generating translations. This may be used with e7n ➡️ extension.
This uses the AWS Translate API. Make sure you have your AWS credentials set, and if you’re using multiple profiles you have the proper value for your $AWS_PROFILE environment variable.
Usage:
e7n-aws-translate [--verbose|-v] <sourceFile> <sourceLang> <targetFile> <targetPath>
For example:
e7n-aws-translate src/_locales/en/messages.json en src/_locales/es/messages.json es