{"repo":"efe/dj-translatemessages","free":true,"listed":false,"github":"https://github.com/efe/dj-translatemessages","clone":"git clone https://github.com/efe/dj-translatemessages.git","description":"LLM-powered Django translations ✨ Just call me \"python manage.py translatemessages\"","language":"Python","stars":103,"topics":["django","i18n","translation"],"license":"MPL-2.0","category":"ai-agents","readme_excerpt":"dj-translatemessages LLM-powered Django translations ✨ Formerly published as yesglot . A Django app that autofills missing translations in .po files using an LLM, while respecting ICU format placeholders and source references. Project story: The birth of yesglot.com explains the background behind yesglot and the rename to dj-translatemessages . Why dj-translatemessages? - 🧠 LLM-powered: works with 100+ LLM models through LiteLLM’s unified API - 🔒 Placeholder-safe: keeps {name}, {{handlebars}}, URLs, and emails intact - 📦 Django-native: one management command: python manage.py translatemessages - 🧮 Cost-aware: prints per-file and total cost (via LiteLLM) - 🧱 Token-safe batching: automatically splits work to avoid context overflows 🚀Quick Start Installation Version 2.0.0 renames the Django app to dj translatemessages . If you're upgrading from yesglot , update INSTALLED APPS and imports accordingly. Migration steps: docs/migration guideline.md. Add dj translatemessages to your Django settings: Configuration Set the model from 100+ LLM models and API key in your Django settings: Usage A typical workflow with Django translations: 1. Extract messages into .po files (creates entries with empty msgstr): 2. Autofill missing translations with dj-translatemessages : Example output: 3. Compile translations into .mo files (so Django can use them at runtime): Advanced Usage Optional parameters, - DJ TRANSLATEMESSAGES SAFETY MARGIN : 1000 (default) - DJ TRANSLATEMESSAGES PER ITEM OUT","default_branch":null,"files":null,"tree":[],"storefront":"/r/efe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/efe/dj-translatemessages/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."}