aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 97e06bce6bce95077f581b72384dba1f5beab01a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# metranslator-api

A translation API that can translate English to Metroz and Metroz to English

## Usage
```plaintext
node index.js <mode> <target language> <message>
```

* `<mode>`:
  * `debug`   to get debugging information and pretty-printed JSON
  * `release` to get beautiful data with details
  * `api`     to get machine-readable data, as a JSON object

* `<target language>`:
  * `en`      to translate from **Metroz**  to **English**
  * `mt`      to translate from **English** to **Metroz**

* `<message>`: The message you want to translate