Hi,

I am working on a translation enhancement project on sahana-eden[1]. 
sahana-eden uses the translation feature of web2py. Is it possible to have 
a modified T() function so that the developer can leave a comment for the 
translator, for example T("This is a SAMPLE", "keep SAMPLE as it is") where 
the second argument is the comment. Or is there any other mechanism in 
web2py to accomplish this task. Further the language file in 
/applications/<application name>/languages/.py should be in the format

"source string": "target string": "comment"

I may be able to modify my local web2py so that this is accomplished. 
Rather I would like to see this upstream as for 
1) sahana-eden is deployed with web2py framework so it needs it's core 
functions build into it (patching is not so nice)
2) there will be many other projects existing or about to deploy on web2py 
which will be benefited with this method.

The whole idea is that the translator has more information that will 
ultimately help to end in a better translation.

I'm willing to contribute in code if the developers want me to.

[1] eden.sahanafoundation.org

Thank you

Reply via email to