## globetrotter

[<img alt="build status" src="https://img.shields.io/github/actions/workflow/status/LuupSystems/globetrotter/build.yaml?branch=main&label=build">](https://github.com/LuupSystems/globetrotter/actions/workflows/build.yaml)
[<img alt="test status" src="https://img.shields.io/github/actions/workflow/status/LuupSystems/globetrotter/test.yaml?branch=main&label=test">](https://github.com/LuupSystems/globetrotter/actions/workflows/test.yaml)
[![dependency status](https://deps.rs/repo/github/LuupSystems/globetrotter/status.svg)](https://deps.rs/repo/github/LuupSystems/globetrotter)
[<img alt="docs.rs" src="https://img.shields.io/docsrs/globetrotter/latest?label=docs.rs">](https://docs.rs/globetrotter)
[<img alt="crates.io" src="https://img.shields.io/crates/v/globetrotter">](https://crates.io/crates/globetrotter)

Polyglot, type-safe internationalization using code-generation.

### Supported languages

As of now, `globetrotter` supports generating type-safe translations for:

- Rust
- Typescript

If your language is not yet supported, you can also use `globetrotter` as a [library](https://docs.rs/globetrotter) and implement a generator for your language. 
Also, contributions for more languages are always welcome!

### Installation

```bash
brew install --cask LuupSystems/tap/globetrotter

# Or install from source
cargo install --locked globetrotter-cli
```

### Get started

```yaml
# todo: config file
```

```bash
# todo: invoke globetrotter
```

#### TODO

- globetrotter spell check on word and sentence level
- globetrotter small lama: predict confidence score whether translations semantically mean the same
