Paul McNett wrote: > Uwe Grauer wrote: >> Paul McNett wrote: >>> Uwe Grauer wrote: >>>> In dGrid.py and in dApp.py _("< None >") is used. >>>> Please review if this is a valid thing. >>> I would say it is valid, since it is how the NULL or None value is >>> displayed to the user. >>> >> If this is the python None value, i don't see why it should be translated. > > Not the python None value, but the string representation of it. Say the > city field of a record in a contact table in your database was NULL. By > default, in English, the user will see "< None >". Other languages will > see it in their own language. This is a user message, so I believe it > should be translated. > > It is also a property (NoneDisplay) that can be overridden by the > application developer to say whatever they want it to say, and to be > translatable or not. >
You are kidding? How would you translate pythons None or SQLs NULL?
However, if the app developer overrides it, it would be translated by the apps locale.
Uwe
©2007 Uwe Grauer |