Navigate in your native language

31 Jan 2018

Translating the app

In October, almost tree months after the app was released, we started working on the translation process of the user interface. As a open source upholder we wanted the localizations' platform that will be used for translation, to be open source too.

The problems that came up as soon as we started for a such platform were two. Initially, many open source web translations' platform wouldn't support XML files. All strings that need to be translated for CityZen are in one XML file. The second issue that we faced had to do with the lack of infrastructure. There were many open source softwares that would fit CityZen's needs for translation. But due to the lack of infrastructure it was impossible to host a such sorfware on a dedicated server from our side. Thankfully, we managed to overcome up this issues when we were able to find a platform that fulfill both criterias. We found Weblate.

Weblate is a free web-based translation tool with tight version control integration. It offers a user-friendly interface for translations. The largest advantage of Weblate was the fact that we could have direct integrations of the translated strings with CityZen's GitHub repository. The translations should be kept within the same repository as the source code and the translation process should closely follow development. So far, CityZen has been translated in 11 languages! All translations are made by individual contributors from around the world! All these new translations will be integrated to the app on the next stable release.