Terrastories Support Materials
  • Introduction
  • OVERVIEW
    • About Terrastories
      • How Terrastories is being used
    • FAQs
    • Getting started
    • Terrastories demo
  • USING TERRASTORIES
    • Exploring the Terrastories main interface
    • Using the Terrastories member dashboard
      • Exploring and creating stories, speakers, and places
      • Customizing your community theme
      • Setting up users and roles
      • Setting up an Explore Terrastories view for your community
      • Modifying map settings
      • Importing data
  • EXPLORE TERRASTORIES
    • What is Explore Terrastories?
    • Exploring the Explore Terrastories interface
    • Setting up Explore Terrastories for your community
  • Operating Terrastories Offline
    • Operating an offline Terrastories "Field Kit"
    • Preparing offline map packages
  • SETTING UP A TERRASTORIES SERVER
    • Hosting environments
      • 🌐 Hosting Terrastories online
      • 🛖 Hosting Terrastories offline as a "Field Kit"
        • Advanced Setup
      • 🍫 Hosting Terrastories on Kakawa (Earth Defenders Toolkit Offline)
    • Navigating the Super Admin dashboard
    • Setting up an Explore Terrastories server
  • MISCELLANEOUS
    • Support
    • Troubleshooting
      • Offline map tiles are not showing up
      • Resetting passwords (using the Rails console)
      • Saving and printing Terrastories reference materials
    • Translating Terrastories
    • Additional resources and references
    • For developers
  • Terrastories website
  • our.terrastories.app
Powered by GitBook
On this page
Export as PDF
  1. MISCELLANEOUS

Translating Terrastories

PreviousSaving and printing Terrastories reference materialsNextAdditional resources and references

Last updated 1 year ago

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.

Translation using Github

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 , and follow these steps.

  1. Find the two or three-digit ISO language code for your language contribution

  2. Navigate to the /rails/config/locales folder.

  3. 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.

  4. Translate each string to your language of contribution.

  5. 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.

  6. Submit your PR 🎉

Github Terrastories repository
here
At the time this screenshot was taken, we have the following languages available (in alphabetical order): Amharic, English, Spanish, Hindi, Japanese, Matawai, Dutch, Portuguese, Punjabi, Swahili, and Chinese (Mandarin).