1 comments

  • GardenAtDesk 2 hours ago

    Hi HN, I'm a new indie game developer, and I needed a localization tool for my own game. Most existing solutions I tried were either too expensive at scale, or hard to control (especially when it comes to preserving code tags and custom formatting).

    So I built a small localization tool around the Gemini API.

    I'm not a professional Python developer — I designed the logic myself (regex-based tag protection, glossary handling, cost tracking), and used Gemini to help generate the actual code. So in a way, this is a tool wrapping Gemini, built with Gemini.

    For my use case, the biggest wins are: - Reliable tag / placeholder protection - Simple glossary support - Predictable and very low cost

    In terms of cost, translating ~10k lines comes out to around $0.60 using Gemini Flash Lite, which works well enough for my workflow. I've translated 2000+ lines so far for my tactics game and my friend's game.

    (Windows .exe included for non-Python users)

    Hope this is useful to other indie devs dealing with localization. Happy to answer questions or hear feedback.