wiki:BluePrint/Internationalisation

Version 7 (modified by Dominic König, 16 years ago) ( diff )

--

Internationalisation

Web2py

  • 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)

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: trac.sahanapy.org/wiki/BluePrintInternationalisation
    • german translation: trac.sahanapy.org/wiki/BluePrintInternationalisation/de
  • 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

BluePrints TranslatedPages

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.