Translating Terrastories
Last updated
Last updated
Terrastories aims to be accessible to a wide range of communities in their native languages, and to facilitate the process of translating the app as needed.
Currently, translations for Terrastories are handled through Github. In the future, we aim to use CrowdIn to make it easy for anyone to contribute translations to Terrastories for new or existing languages.
To begin translating, clone the Github Terrastories repository, and follow these steps.
Find the two or three-digit ISO language code for your language contribution here
Navigate to the /rails/config/locales
folder.
Copy the en
folder (or any other language folder you want to use as your basis for translation) and rename it to your ISO language code. Also rename the en
in each filename, and the beginning of each file, to your ISO language code.
Translate each string to your language of contribution.
Add your language to the languages
list for all of the languages (in en.yml
, pt.yml
, mat.yml
, ... and your new language contribution). You can use Google Translate to figure out how your language is translated in the other languages.
Submit your PR 🎉