
App Localization with Python and Argos Translate
Last year, I worked on localizing a platform from Spanish to English. The strings were stored in JSON files within a directory called es , and the goal was to generate the same files translated into English and save them in a directory named en . Here's an article I wrote on how I optimized the process by generating the initial localization using Python and DeepL. However, DeepL is not Open Source and its usage is limited depending on the plan you choose. So, what’s a good Open Source alternative? Argos Translate —and in this article, I’ll show you how to use it for your localization projects. Argos Translate is an Open Source tool that uses OpenNMT for translations and works offline. They also offer LibreTranslate , an API built on top of Argos Translate that doesn't require creating an account. It can be used as a Python library, a command-line tool, or a GUI application. For this workflow, it’s recommended to use the Python library along with the API provided by LibreTranslate. Inst
Continue reading on Dev.to Tutorial
Opens in a new tab




