On Wed, Dec 11, 2002 at 06:33:39PM +0100, Denis Barbier wrote:
[...]
> It is different with C files; the framework is in, and we can use dcgettext
> in source files.  But GNU libc requires that locale is fully installed 
> before displaying a message for that language.  For instance, glibc checks
> that /usr/lib/locale/fr_FR/LC_* files exist before displaying messages
> in French.  Given the size of these files, it does certainly matter.
> This is overkill because we know that all strings are UTF-8 encoded, so
> we only need to set LC_MESSAGES.  So if we want to use dcgettext, we
> have to figure out how to generate dummy /usr/lib/locale/xx_XX/LC_* files.

I should have looked at boot-floppies before replying;)
It ships /lib/locale/C@utf-8/LC_* files, this directory is ~34kB large
when compressed.
We can certainly follow the same way, and see how it works here.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to