{"repo":"pescheckit/python-gpt-po","free":true,"listed":false,"github":"https://github.com/pescheckit/python-gpt-po","clone":"git clone https://github.com/pescheckit/python-gpt-po.git","description":"🔁 AI-powered translator for gettext .po files using OpenAI, Azure OpenAI, Claude, DeepSeek and Ollama, supports bulk, fuzzy cleanup, and language auto-detection.","language":"Python","stars":47,"topics":["ai","automation","batch-processing","i18n","language-translation","localization","openai","po-files","python","translation"],"license":"MIT","category":"ai-agents","readme_excerpt":"GPT-PO Translator Translate gettext (.po) files using AI models. Supports OpenAI, Azure OpenAI, Anthropic/Claude, and DeepSeek with automatic AI translation tagging and context-aware translations. 🚀 Quick Start ✨ Key Features - Multiple AI providers - OpenAI, Azure OpenAI, Anthropic/Claude, DeepSeek, Ollama - Context-aware translations - Automatically uses msgctxt for better accuracy with ambiguous terms - AI translation tracking - Auto-tags AI-generated translations with #. AI-generated comments - Bulk processing - Efficient batch translation for large files - Smart language detection - Auto-detects target languages from folder structure - Fuzzy entry handling - Translates and fixes fuzzy entries properly - Docker ready - Available as container for easy deployment 📦 Installation PyPI (Recommended) Docker Manual 🔧 Setup API Keys (Cloud Providers) Choose your AI provider and set the corresponding API key: 💡 Usage Examples Basic Translation Different AI Providers Docker Usage 🎯 Context-Aware Translations Automatically uses msgctxt for better accuracy: The tool extracts context from your PO files and passes it to the AI for more accurate translations of ambiguous terms. Tip: Use detailed context for best results: msgctxt \"status label (not verb)\" works better than just msgctxt \"status\" . Default Context Provide a default context for entries without msgctxt : Priority: CLI argument Environment variable Config file The default context is applied to entries without explicit ms","default_branch":null,"files":null,"tree":[],"storefront":"/r/pescheckit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pescheckit/python-gpt-po/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}