[Ocaml-i18n] locales in Camomile and OCamlI18n

skaller skaller at users.sourceforge.net
Sun May 23 21:40:11 PDT 2004


On Mon, 2004-05-24 at 09:53, Yamagata Yoriyuki wrote:

> 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.  

This ISO country code, language, and locale are independent
and should be passed around explicitly to all core functions.
Hope this is so .. it may be useful to have a 'guess' function
or several (eg: look at current C locale for locale) but
make sure these 'guess' tools are outside the core library,
and the core is fully parametric (reentrant).

-- 
John Skaller, mailto:skaller at users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net






More information about the Ocaml-i18n mailing list