On Mon, 11 Aug 2014, David E. Wheeler wrote:

On Aug 11, 2014, at 10:01 AM, Dave Rolsky <auta...@urth.org> wrote:

It builds up in-memory data structures for all of the locales? Wow. Yeah, seems 
like those could be encapsulated in the locales themselves or something, no?

Or rather than building this all up via repeated calls to _register, the 
Catalog code could just contain the fully realized structure.

How hard would that be to do?

Hard and not hard ;)

The Catalog is currently generated as part of the code that generates each individual locale. Changing that part of the code generator isn't too hard. The trick is you have to use the exact version of the CLDR data that this generator can parse, which is CLDR 1.7.1. You can probably get it from their historical archives or repo.


-ave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Reply via email to