[Zope-dev] [Checkins] SVN: zope.i18n/trunk/ Merge the nadako-sorting branch, updating CLDR to 1.1.
Dan Korostelev
nadako at gmail.com
Fri Feb 27 13:37:04 EST 2009
2009/2/27 Stephan Richter <srichter at cosmos.phy.tufts.edu>:
> On Friday 27 February 2009, Dan Korostelev wrote:
>> >> Also, I it
>> >> looks crazy how zope.i18n.locales things works, especially when it
>> >> comes to inheritance. :)
>> >
>> > Feel free to improve it. :-)
>>
>> Well, it's quite hard when it comes to backward-compatibility, but
>> I'll certainly think on some ways to improve.
>
> Instead of implementing inheritance I would now just allow copying a locale
> and merge new data on top of it. Nobody changes locales on the fly anyways,
> so the entire inheritance mechanism is superfluous.
Yeah, I also think so. BTW, Babel does that exactly. Also, newer LDML
support more complex locale inheritance schemas that will be harder to
integrate into current locale mechanism. :-/
>> >> I even have some thoughts about just
>> >> integrating Babel into zope.i18n, as it does CLDR much better.
>> >
>> > Can you give me a link?
>>
>> Sure. http://babel.edgewall.org/
>
> Looks very good. We probably should switch to them. We can even provide some
> tests to their project.
I'd support switching to Babel. If noone objects, I'll try to do that
in my branch.
--
WBR, Dan Korostelev
More information about the Zope-Dev
mailing list