Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lroolle/i18n-gpt


https://github.com/lroolle/i18n-gpt

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

# Intro

A GPT client that review i18n files(`django.po`/`translation.json`) and autofix it.

1. Grammar and typo check in related language;
2. Suggest translation to other target languages;

# Models supported

- OpenAI Chat Models, `gpt-3.5-turbo`, `gpt-4`, etc.

# Usage

```shell
poetry install

export OPENAI_API_KEY=
poetry run autofix --help
```

## Review and autofix example

```shell
poetry run auotfix -w --max_msgs=100 -f examples/locale/en_US/django.po
```

# TODO

- [ ] Support more models;
- [ ]