better_translate 0.3.0
BetterTranslate is a gem that allows you to translate YAML files from a source language into one or more target languages. The gem supports different translation providers, currently ChatGPT (OpenAI) and Google Gemini, and allows you to choose the translation mode: "override" to regenerate all translations or "incremental" to update only the missing keys. The gem's configuration is centralized via an initializer, where you can define API keys, target languages, source language, key exclusions, and the output folder. BetterTranslate also integrates translation progress tracking using a progress bar.