webmaker-download-locales
Version:
Download translation files from S3 bucket
36 lines (22 loc) • 670 B
Markdown
webmaker-download-locales
=========================
cli to download all locales from S3 bucket
```
npm install webmaker-download-locales
```
Usage:
Run this in the root directory of the app only.
```bash
node webmaker-download-locales "<app_name>"
```
If you installed the module globally you can do it like this:
```bash
webmaker-download-locales "<app_name>"
```
This will download all the translation files from S3 bucket and write the files to `locale/<locales>/*<files>.json`
## Options
### `-l` (`--languages`)
If you want to specify a subset of languages, add the `-l` (or `--languages`) flag:
```bash
webmaker-download-locales -l en_US,fr,bn_BD
```