Changes between Version 26 and Version 27 of BluePrint/Internationalisation


Ignore:
Timestamp:
09/27/10 15:37:33 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/Internationalisation

    v26 v27  
     1[[TOC]]
    12= Internationalisation Blueprint =
    23
     
    45
    56Production Options are defined within DeveloperGuidelinesInternationalisation
    6  
     7
     8== !ToDo ==
     9 * Extend web2py2po/po2web2py to support translator comments
     10{{{
     11def translate(self, message, symbols):
     12       """
     13       user ## to add a comment into a translation string
     14       the comment can be useful do discriminate different possible
     15       translations for the same string (for example different locations)
     16
     17       T(' hello world ') -> ' hello world '
     18       T(' hello world ## token') -> 'hello world'
     19       T('hello ## world ## token') -> 'hello ## world'
     20       """
     21}}}
     22
    723== Other options ==
    824 * [http://babel.edgewall.org Babel] - good toolkit to combine with GNU/gettext