wiki:l10n
Last modified 7 months ago Last modified on 11/01/11 20:37:35

Localization

Goal: Find and deploy translation platform for GeoGebra and GeoGebraTube which is capable of syncing the files with our repository.

Most promising candidate: Transifex.properties support in development (see related ticket)

Otherwise Narro, does not look as mature or feature-rich, but is probably easier to install

Transifex

Installation Resources:

Test installation:

  • Enable mod_wsgi
  • Set WSGIScriptAlias to transifex directory
  • Download and install Django (basically just easy_install)
  • Download latest version of transifex from bitbucket (required due to unreleased .properties support)
  • ..
  • Install transifex (basically just easy_install)
  • Admin Users can Change English (US), Other users can edit only their own Language
  • Admin users can add new keys
  • some sort of locking for each key
  • when user logs in, show summary (eg no of keys translated) give options eg show new keys, show changed keys, show keys with mistakes
  • translate GeoGebra, wiki keys, ggbTube
  • synchronise database with SVN automatically, and provide a button to do this (eg for releases)
  • support sub-sub-languages, eg http://dev.geogebra.org/trac/browser/trunk/geogebra/geogebra/properties/colors_no_NO_NY.properties

ggbtrans

Django app to move translation online. More details at Translation Tool

Very quick doc

To view translations, select a reference locale and a category from the selection boxes at the top, then click the view button. You get a list of keys with the translations in the reference locale that you selected.

To edit translations, log in, select a reference and translation locale at the top, a category and click the view button. You get a list of keys with the translations in the reference locales and a text area containing the translations in the translation locale that you selected. To edit a translation, just edit the text and click the submit button that appears.

Feature list

  • anybody can view all translations
  • translators have the ability to edit translations for a given number of languages
  • no locks: several translators can simultaneously edit translations for the same language
  • translators can choose any language as a reference language on which to base their translations
  • contains a tool that imports properties files into the database

TODO

  • tool to export database contents to properties files (and possibly commit the files to vcs?)
  • documentation for translators
  • optional comments for keys
  • mandatory version field
  • input validation for commands: check that the command has the correct number of arguments, etc
  • input validation for translations containing placeholders: e.g. %0 does not intersect with %1