Ushahidi uses Kohana's internationalization features.

Translations for the platform are managed in Transifex

Sources of Truth

To add new strings:

  1. Create a new translation string
  2. Add it to the i18n/en_US PHP arrays
  3. Commit this change to the Ushahidi-Localizations repository

The new string will be automatically picked up by cron runs and pushed to Transifex

Translation Process

Automatic processing:

Cron runs tools/full-sync.sh on qa.ushahididev.com every 6 hours

  1. Converts PHP arrays for en_US to POT files
  2. Commits POT files to github
  3. Uploads POT files to Transifex
  4. Downloads translated strings from Transifex into PO files
  5. Converts PO files to PHP arrays
  6. Commits PO files and PHP files to github

Related links

TranslationProcess.xml for http://www.diagram.ly/