Changes between Version 16 and Version 17 of DeveloperGuidelines/Internationalisation


Ignore:
Timestamp:
07/04/10 15:31:58 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Internationalisation

    v16 v17  
    11= Internationalisation =
    2 The original language of the Sahana Eden 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 [http://translate.hfoss.eu "Sahana Localization team"].
    3 
    4 However, translation to other languages is highly appreciated - please contact the Localization team for advice.
    5 
    6 == Translation to a new language ==
    7 Create language file:
    8  * http://127.0.0.1:8000/admin/default/design/eden#languages
     2The original language of the Sahana Eden 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 [http://translate.hfoss.eu "Sahana Localization team"]. However translation into other languages is highly appreciated. Please see:
     3  * UserGuidelinesLocalisation
    94
    105== Web2py localization engine ==
     
    2015table.field.label = T("Field")
    2116}}}
    22 
    2317
    2418To make dropdown options localisable, use this pattern:
     
    9286Difficult, difficult. Therefore - use string constants.
    9387}}}
     88
    9489== Time ==
    9590All references to time should use {{{request.utcnow}}} rather than {{{request.now}}}
    96 
    97 == Pootle/translate toolkit and web2py dictionaries ==
    98  * [http://pootle.hfoss.eu "Sahana Pootle server"] as online facility for collaboration, translation refinement and workflow control
    99  * web2py translation dictionaries can be converted into PO files and vice versa, e.g. using:
    100    * [http://pub.nursix.org/translate/web2py2po.tar.gz "web2py2po"] scripts (part of the [http://translate.sourceforge.net/wiki/toolkit/py2web2po "Translate Toolkit"])
    101 
    102 == Wiki pages translation ==
    103  * translated pages with ISO 639-2 language code extension (original english page = no extension), e.g.
    104    * '''original page:''' eden.sahanafoundation.org/wiki/BluePrintInternationalisation
    105    * '''german translation:''' eden.sahanafoundation.org/wiki/BluePrintInternationalisation'''/de'''
    106 
    107  * insert ![[TranslatedPages]] macro to display a list of available translations of a page (at best at bottom of page)
    10891
    10992----