# nekoparapa/ainiee

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/nekoparapa-ainiee).**

5,152 stars · 326 forks · Python · agpl-3.0

## Links

- GitHub: https://github.com/NEKOparapa/AiNiee
- awesome-repositories: https://awesome-repositories.com/repository/nekoparapa-ainiee.md

## Description

AiNiee is an LLM-based localization tool that automates the translation of games, books, subtitles, and documents across multiple languages. It operates as a batch processing engine, translating entire folders of files in parallel while preserving directory structure, and includes a glossary management system that enforces terminology consistency using AI-powered glossaries, forbidden terms, and user-defined text substitution rules.

The tool differentiates itself through key architectural decisions: it distributes translation requests across multiple API keys to bypass rate limits and accelerate throughput, uses cache-mediated data persistence to avoid redundant processing across runs, and applies chain-of-thought reasoning during translation to maintain coherence and context in lengthy content. Automatic file type and language detection via drag-and-drop eliminates manual configuration, while plugin-based file format adapters allow custom readers and writers for new formats. A pipeline-based workflow processes text through extraction, segmentation, AI translation, cache lookup, and formatted output, and rule-based preprocessing applies user-defined substitution and regex patterns to protect or modify text before and after translation.

Beyond these core capabilities, the system supports game-specific workflows for extracting and injecting translated text, exporting and reimporting project data, and handling exported JSON data. It also offers configurable translation API connections, untranslatable content pattern exclusion, and translation refinement with formatting and context awareness.

## Tags

### Artificial Intelligence & ML

- [AI-Powered Translations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-powered-translations.md) — Leverages multiple AI translation services to adapt content across languages with configurable endpoints and settings.
- [LLM Translation Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-translation-integrations.md) — Provides LLM-powered localization for games, books, subtitles, and documents with glossary and context-awareness.
- [Multiformat Localization Translators](https://awesome-repositories.com/f/artificial-intelligence-ml/model-format-translators/multiformat-localization-translators.md) — Handles game files, e-books, subtitles, and documents with automatic format detection and conversion before translation.
- [Pre-Translation Format Converters](https://awesome-repositories.com/f/artificial-intelligence-ml/pre-translation-format-converters.md) — Converts source files into intermediate formats to enable AI translation of diverse file types. ([source](https://github.com/NEKOparapa/AiNiee/blob/main/ModuleFolders/Domain/FileAccessor/README.md))
- [Chain-of-Thought Prompting](https://awesome-repositories.com/f/artificial-intelligence-ml/chain-of-thought-prompting.md) — Applies chain-of-thought reasoning during AI translation to maintain coherence and context across long content.
- [Exported JSON Localization Workflows](https://awesome-repositories.com/f/artificial-intelligence-ml/exported-json-localization-workflows.md) — Translates exported JSON data by applying AI and preserving structural integrity for reimport. ([source](https://github.com/NEKOparapa/AiNiee/wiki/%E6%B8%B8%E6%88%8F%E7%BF%BB%E8%AF%91%E2%80%90Paratranz))
- [Iterative Translation Refinement](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-translation-integrations/iterative-translation-refinement.md) — Refines translations through iterative AI loops with prompt adjustments and terminology extraction. ([source](https://github.com/NEKOparapa/AiNiee/blob/main/README_EN.md))
- [Sequential Translation Pipelines](https://awesome-repositories.com/f/artificial-intelligence-ml/sequential-translation-pipelines.md) — Processes text through extraction, segmentation, AI translation, cache lookup, and formatted output in a sequential pipeline.
- [Text Translation Tools](https://awesome-repositories.com/f/artificial-intelligence-ml/text-translation-tools.md) — Translates game text files using AI models, outputting ready-to-reload translated files. ([source](https://github.com/NEKOparapa/AiNiee/wiki/%E6%B8%B8%E6%88%8F%E7%BF%BB%E8%AF%91%E2%80%90Mtool))
- [Long-Text Coherence Techniques](https://awesome-repositories.com/f/artificial-intelligence-ml/text-translation-tools/long-text-coherence-techniques.md) — Maintains coherence in long translated texts using chain-of-thought and contextual awareness. ([source](https://github.com/NEKOparapa/AiNiee/blob/main/README_EN.md))
- [Translation Quality Optimizers](https://awesome-repositories.com/f/artificial-intelligence-ml/translation-quality-optimizers.md) — Optimizes translation quality through AI-driven techniques like chain-of-thought and glossaries. ([source](https://github.com/NEKOparapa/AiNiee#readme))

### Business & Productivity Software

- [Multi-Format Batch Processing](https://awesome-repositories.com/f/business-productivity-software/drag-and-drop-translation-interfaces/multi-format-batch-processing.md) — Enables one-click batch translation of multiple content formats via drag-and-drop. ([source](https://github.com/NEKOparapa/AiNiee/search))
- [Multi-Format Content Localizers](https://awesome-repositories.com/f/business-productivity-software/multi-format-content-localizers.md) — Translates e-books, subtitles, and documents alongside game files with automatic file-type detection.

### Data & Databases

- [Batch Processing Engines](https://awesome-repositories.com/f/data-databases/batch-processing-engines.md) — Processes entire folders of files in parallel, pooling API keys for high-throughput batch translation.
- [Translation Result Caches](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/caching-performance/caching-strategies/query-result-caching/method-result-caches/translation-result-caches.md) — Caches translation results at multiple granularities to avoid redundant processing and API calls. ([source](https://github.com/NEKOparapa/AiNiee/blob/main/ModuleFolders/Domain/FileAccessor/README.md))
- [Data Caching](https://awesome-repositories.com/f/data-databases/data-caching.md) — Stores project and file-level data in cache objects to avoid redundant processing across translation runs.
- [Text Preprocessing](https://awesome-repositories.com/f/data-databases/data-processing-pipelines/data-transformation/text-nlp-preprocessing/text-preprocessing.md) — Applies user-defined substitution rules and regex patterns to modify or protect text before and after translation.

### Development Tools & Productivity

- [Translation API Integrations](https://awesome-repositories.com/f/development-tools-productivity/translation-api-integrations.md) — Configures translation API connections with endpoint, authentication, and rate limit settings. ([source](https://github.com/NEKOparapa/AiNiee/wiki/%E5%8A%9F%E8%83%BD%E2%80%90%E6%8E%A5%E5%8F%A3%E7%AE%A1%E7%90%86))
- [Automatic Import Detectors](https://awesome-repositories.com/f/development-tools-productivity/automatic-import-detectors.md) — Automatically identifies file type and language from metadata or content on drag-and-drop import.

### DevOps & Infrastructure

- [API Key Rotation](https://awesome-repositories.com/f/devops-infrastructure/load-balancing/api-key-rotation.md) — Distributes translation requests across multiple API keys to bypass rate limits and accelerate throughput. ([source](https://github.com/NEKOparapa/AiNiee#readme))
- [API Key Pools](https://awesome-repositories.com/f/devops-infrastructure/rate-limiters/distributed-rate-limiting/api-key-pools.md) — Pools multiple API keys to distribute translation requests and bypass rate limits for faster throughput.

### Software Engineering & Architecture

- [Glossaries](https://awesome-repositories.com/f/software-engineering-architecture/glossaries.md) — Enforces terminology consistency across translations using AI-powered glossaries, forbidden terms, and substitution rules.
- [Translation Term Mapping](https://awesome-repositories.com/f/software-engineering-architecture/glossaries/glossary-and-acronym-managers/translation-term-mapping.md) — Defines custom term translations with descriptions to enforce consistent terminology across all translated content. ([source](https://github.com/NEKOparapa/AiNiee/wiki/%E8%A1%A8%E6%A0%BC%E2%80%90AI%E6%9C%AF%E8%AF%AD%E8%A1%A8%E4%BB%8B%E7%BB%8D))
- [Translation](https://awesome-repositories.com/f/software-engineering-architecture/glossaries/translation.md) — Manages translation-specific glossaries with AI enforcement, forbidden terms, and substitution rules.
- [Game Localization Workflows](https://awesome-repositories.com/f/software-engineering-architecture/infrastructure-configuration-languages/multi-language-support/multilingual-site-support/application-text-translation/game-localization-workflows.md) — Translates dialogue, character names, and UI strings in game files using AI with custom glossaries and format preservation.
- [Plugin Format Adapters](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/extensibility/plugin-architectures/plugin-format-adapters.md) — Loads external reader and writer modules to support new file formats for translation.

### Web Development

- [Automated Translation Workflows](https://awesome-repositories.com/f/web-development/internationalization-localization/translation-management-platforms/automated-translation-workflows.md) — Processes entire folders of files in parallel, preserving directory structure and distributing across API keys.

### Content Management & Publishing

- [Content Preservation Placeholders](https://awesome-repositories.com/f/content-management-publishing/content-preservation-placeholders.md) — Configures patterns to skip untranslatable content like code, placeholders, and markup tags during translation. ([source](https://github.com/NEKOparapa/AiNiee/wiki/%E8%A1%A8%E6%A0%BC%E2%80%90AI%E7%A6%81%E7%BF%BB%E8%A1%A8%E4%BB%8B%E7%BB%8D))

### Game Development

- [Exported Project Translation Workflows](https://awesome-repositories.com/f/game-development/exported-project-translation-workflows.md) — Handles export and reimport of game translation project files for seamless localization. ([source](https://github.com/NEKOparapa/AiNiee/wiki/%E6%B8%B8%E6%88%8F%E7%BF%BB%E8%AF%91%E2%80%90Translator--%EF%BC%88%E5%B7%A5%E7%A8%8B%E6%96%87%E4%BB%B6%E7%89%88%EF%BC%89))
- [Game Text Extractors](https://awesome-repositories.com/f/game-development/game-text-extractors.md) — Extracts game text and character names for AI translation with language detection. ([source](https://github.com/NEKOparapa/AiNiee/wiki/%E6%B8%B8%E6%88%8F%E7%BF%BB%E8%AF%91%E2%80%90StevExtraction))
- [Translated Text Injectors](https://awesome-repositories.com/f/game-development/translated-text-injectors.md) — Injects translated text into game files using project data, completing the localization loop. ([source](https://github.com/NEKOparapa/AiNiee/wiki/%E6%B8%B8%E6%88%8F%E7%BF%BB%E8%AF%91%E2%80%90StevExtraction))
