Version 13 (modified by Fran Boon, 15 years ago) ( diff )

Google ta3reeb


The original language of the Sahanapy user interface, source code labels and comments, and the Wiki pages is English (international). No contributions can be accepted without being at least translated to english. If you need help to translate your contents to english, please contact the Sahana Localization team.

However, translation to other languages is highly appreciated - please contact the Localization team for advice.

Web2py localization engine

  • T() function performs dictionary lookups (similar to GNU/gettext _()), see here for example
  • the dictionaries are located in the languages subfolder of the application
  • dictionaries can be translated using the web2py web interface (RAD mode)
    • suggest increasing the timeout from the default 10 minutes: python --timeout=120 ...
  • NB We still need a Right-to-Left UI solution

Pootle/translate toolkit and web2py dictionaries

Wiki pages translation

  • translated pages with ISO 639-2 language code extension (original english page = no extension), e.g.
    • original page:
    • german translation:
  • insert [[TranslatedPages]] macro to display a list of available translations of a page (at best at bottom of page)

Other options

  • GoogleTranslate can be used to help translators get started, but needs humans to make cultural and linguistic refinements
  • Google ta3reeb - Arabic 'keyboard' using Latin characters


BluePrints TranslatedPages

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.