Changes between Version 8 and Version 9 of DeveloperGuidelines/Internationalisation


Ignore:
Timestamp:
08/07/09 18:37:11 (16 years ago)
Author:
Fran Boon
Comment:

All Labels should be explicitly Internationalised

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Internationalisation

    v8 v9  
    55
    66== Web2py localization engine ==
    7  * T() function performs dictionary lookups (similar to GNU/gettext _()), see [http://mdp.cti.depaul.edu/examples/global/vars/T here] for example
     7 * T() function performs dictionary lookups (similar to GNU/gettext _()), see [http://web2py.com/examples/global/vars/T here] for example
    88 * the dictionaries are located in the languages subfolder of the application
    99 * dictionaries can be translated using the web2py web interface (RAD mode)
    1010  * suggest increasing the timeout from the default 10 minutes: {{{python web2py.py --timeout=120 ...}}}
     11
     12All Labels should be explicitly Internationalised:
     13{{{
     14db.table.field.label = T('Field')
     15}}}
     16
    1117
    1218To make dropdown options localisable, use this pattern: