[Ocaml-i18n] OCamlI18N-0.2 & ldml progress

Sylvain LE GALL sylvain.le-gall at polytechnique.org
Tue Aug 17 13:59:58 PDT 2004


On Tue, Aug 17, 2004 at 08:16:34PM +0200, Matthieu Sozeau wrote:
> OCamlI18N-0.2 is available, at:
> 	http://mattam.org/soft/OCamlI18N.html
> 
> it introduces an LDML compliant Locale module (with the Canonical level 2, IOW 
> POSIX compatibility implemented) and checks languages and country codes 
> against file databases. It's a first step towards LDML, which I'll continue 
> to work towards now. 
> 
> Benjamin, have you advanced on the datatypes ?
> 
> We have to answer some previous questions from Yamagata now too:
> ...
> > Further it would be good to have a generic mechanism to handle
> > locale dependent data, not limited to LDML.  Your libaray would be a
> > natural place for it.  Then Camomile can govern all localle specific
> > data through your library.
> 
> I wonder what you mean by locale dependent data, is it just objects with 
> different versions for each language ?
> 
> > In additon, Camomile needs ISO language and country code.  Current
> > approach is parsing locale name, but if you introduce non-standard
> > locale name, then some method for getting ISO codes is necessary.  
> What sort of non-standard locale names do you expect ?
> 
> > I think LDML have them, but we have to consider performance problems of
> > loading LDML when each time locale is used.
> ...
> 
>  ISO codes are just 15kb in total, and you don't have to load a lot of ldml 
> files to support a dozen locales in a program, apart from the collation table 
> creation/loading, what performance problems do you see ? 

Hello again,

I think you forgot src/config.ml.in or i miss something.

Kind regard
Sylvain Le Gall

ps : i found a solution to detect new version of ocamli18n from your
webpages



More information about the Ocaml-i18n mailing list