I've built Locawise, an open-source Python tool to automate the often tedious process of application localization. It uses AI (OpenAI or VertexAI models) to translate new or changed strings in your language files.
It consists of two main parts:
locawise: A Python CLI tool you run locally. It detects changes in your source language files (JSON, .properties), gets translations, and updates target files. It's context-aware – you can define project context, terminology (glossary), and tone via a YAML config (i18n.yaml) to improve translation quality. locawise-action: A GitHub Action that automates this process. It can run on pushes to your main branch and create a PR with the new translations. The goal is to offer a free, developer-controlled alternative to paid localization platforms. It's designed to be efficient (async, only translates changes) and cost-effective (you control LLM usage).
GitHub (CLI tool): https://github.com/aemresafak/locawise GitHub (Action): https://github.com/aemresafak/locawise-action Quick Tutorial: https://www.youtube.com/watch?v=b_Dz68115lg
I'd love to get your feedback and answer any questions.