Changes between Version 1 and Version 2 of BluePrint/Translation


Ignore:
Timestamp:
03/10/12 01:02:36 (13 years ago)
Author:
graeme
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/Translation

    v1 v2  
    11= Blueprint for an Upgrade to the Translation Functionality =
    22== Current situation ==
    3 Sahana Eden uses the translation features of web2py. For the application programmer this requires the use of the function T() when displaying strings which will be displayed on the screen and so will need to be translated.
     3Sahana Eden uses the translation features of web2py. For the application programmer this requires the use of the function T() when displaying strings which will be displayed on the screen and so will need to be translated. The core web2py translation functionality extracts the strings and stores them in a *.py file, unfortunately this file only has space for the original and the translated string. For the translator it is often helpful to have a comment that can explain the context of a particular phrase. For other features to be introduced as part of this work it would also be necessary to know the origin of the string, this would be the file and possibly also the line number. (Note the sting may have more than one origin, i.e. it appears in the code in more than one place).
    44== Changes to the core translation function ==
    55== Round-trip translation UI ==