Re: [FE-discuss] FormEncode i18n translation integration in TurboGears
Jorge Godoy <[email protected]>
| Newsgroups | gmane.comp.web.turbogears,gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
Ian Bicking <[email protected]> writes: > Gregor Horvath wrote: >> I therefore propose a new class attribute: formencode.Validator.gettextargs >> For standalone FormEncode this attribute is {}. (Because standard >> gettext function does not allow additional parameters) >> >> <formencode.api.py> >> class Validator(declarative.Declarative): >> [....] >> gettextargs = {} >> [...] > > That would be fine, but for this case we might also just put > "gettext_domain='FormEncode'" into the class too, no? It seems > reasonable to set the domain to 'FormEncode' by default. I'd be willing to do and maintain the official translation to pt_BR. :-) I believe we're going to ship some messages already translated with FormEncode ;-) -- Jorge Godoy <[email protected]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---