Expand description
Translation client for OpenAI-compatible APIs.
Structs§
- Translation
Client - Client for translating text using OpenAI-compatible APIs.
- Translation
Request - A request to translate text.
Constants§
- SUPPORTED_
LANGUAGES - Supported language codes (ISO 639-1) and their names.
Functions§
- print_
languages - Prints all supported language codes to stdout.
- validate_
language - Validates that the given language code is supported.