Skip to content

Commit

Permalink
Replace long commands with shorter versions
Browse files Browse the repository at this point in the history
  • Loading branch information
OzzyCzech committed Jan 9, 2023
1 parent f4b34ef commit 299b806
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,17 @@ Options:
Follow command will translate whole content of `tests/example-cs_CZ.po` from English (default) to Czech language (default):

```bash
bin/potrans google tests/example-cs_CZ.po ~/Downloads --credentials=your-credentials-file.json
bin/potrans google tests/example-cs_CZ.po ~/Downloads \
--credentials=your-credentials-file.json
```

You can also change source and target language with `--form` and `--to` parametters:

```bash
bin/potrans google tests/example-cs_CZ.po ~/Downloads --credentials=your-credentials-file.json --from=en --to=de
bin/potrans google tests/example-cs_CZ.po ~/Downloads \
--credentials=your-credentials-file.json \
--from=en \
--to=de
```

### Google Translate API Pricing
Expand Down

0 comments on commit 299b806

Please sign in to comment.