2009/2/27 Stephan Richter <srich...@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 _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )