### @theorchard/i18n-util

This library allows you to export and import translations and terms from POEditor.
It is intended to be used along side the react-intl library, and mainly used by frontend-distribution.
**Do not use this library for new projects.**
Instead, use the @theorchard/frontend-i18n-cli tooling found in the orchard-suite repo.

### Installation

```bash
yarn add @theorchard/i18n-util --dev
```

### Configuration

After installing this package, you can use the `i18n-util` command
line. Before running any of the following commands, make sure your POEditor credentials are stored
in an .env file or as environment variables.

```bash
# .env
POEDITOR_PROJECT_ID=
POEDITOR_API_TOKEN=
```

### Usage

```bash
# Uploading terms to POEditor. (Update)
i18n-util upload

# Downloading all translations from POEditor.
i18n-util download
```

### Deployment

This library is currently manually deployed.
Please reach out in the #frontend slack channel if you need to do any updates on it.
