-------- Original Message --------
Subject: Re: PSARC/2008/549 - Apache Standard C++ Library
Date: Thu, 28 Aug 2008 16:26:44 -0700
From: Garrett D'Amore <[email protected]>
To: Stefan Teleman <Stefan.Teleman at sun.com>
CC: John.Fischer at sun.com
Th text below is the sum total of what I've been asking for about the
i18n. Thank you. You should forward this to PSARC-ext@ so that it is
recorded in the case materials.
-- Garrett
> The location of the message catalogs is specified via the NLSPATH env
> var.
>
> Catalogs are opened via catopen(3C). Internally, in a very roundabout
> way, this implementation does:
>
> nl_catd catd = nl_cat_open (cat_name.c_str(), NL_CAT_LOCALE);
>
> Messages from the opened catalog are retrieved via catgets(3C).
>
> --Stefan
>
> ------
>
>>
>> What you seem to be missing here is the requirement that if I'm going
>> to write a C++ program that uses these facilities, then I
>> *absolutely* need to know how to supply the localized data (down the
>> precise format used in the messages database and the method used to
>> determine which local-specific catalog is used!) Otherwise, its a
>> black box and I can't localize a program!
>>
>> Think about someone trying to use these facilities and you'll see
>> what I mean. (I mean more than just the programmer, but the l10n
>> teams that are going to have to deal with them.)
>>
>> -- Garrett
>>
>
--
Stefan Teleman
Sun Microsystems, Inc.
Stefan.Teleman at Sun.COM