I think this idea has a lot of merit. --Paul
On Dec 4, 2008, at 1:56 PM, Wichert Akkerman wrote: > > Currently chameleon uses zope.i18n to do translation. zope.i18n is > quite > heavy and is much more complex than a lot of sites need, so I would > like > us to consider making zope.i18n optional. > > From what I can see chameleon only uses a few things from zope.i18n: > translate, interpolate and Message. Message is only used to set some > default values and easily be made optional. translate appears to be > easily mappable to stock python gettext calls. That leaves > interpolate, > which is needed to handle i18n:name constructs in templates. > interpolate > is a small function that could easily be copied into chameleon, or > possibly even be replaced with standard python string formatting > with a > bit more work. > > Is this a path that would be interesting? I doubt people using > pylons or > other non-zope environments want to buy into the complexity that > zope.i18n brings.. > > Wichert. > > -- > Wichert Akkerman<[EMAIL PROTECTED]> It is simple to make things. > http://www.wiggy.net/ It is hard to make things > simple. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "z3c.pt" group. To post to this group, send email to z3c_pt@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/z3c_pt?hl=en -~----------~----~----~----~------~----~------~--~---