Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lroolle/i18n-gpt
https://github.com/lroolle/i18n-gpt
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lroolle/i18n-gpt
- Owner: lroolle
- Created: 2023-07-21T07:04:28.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-21T07:04:42.000Z (over 1 year ago)
- Last Synced: 2025-01-15T05:59:13.014Z (16 days ago)
- Language: Python
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 installexport 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;
- [ ]