
From: Vicente BOTET <vicente.botet@wanadoo.fr>
Objet : Re: [boost] Boost.Locale and the standard "message" facet
Subject: [boost] Boost.Locale and the standard "message" facet
Hi,
I was wondering how Boost.Locale is related to the standard message facet which is used to translate messages.
The standard message catalogs allow to extract messages by integer identifiers but may use string identifiers and it is implementation defined
It is undefined how to load message facets
Well implementation defined doesn't mean undefined.
Actually I want to talk about it a little bit more. std::message facet is designed after POSIX catopen and catgets See: http://pubs.opengroup.org/onlinepubs/009695399/functions/catgets.html http://pubs.opengroup.org/onlinepubs/009695399/utilities/gencat.html POSIX defines various rules on how to load message catalogs their format. However it is POSIX interface and as you probably understand Windows does not like such standards and according it MSDN std::message does nothing: http://msdn.microsoft.com/en-us/library/y2ka8972.aspx Quote:
Currently, while the messages class is implemented, there are no messages.
So as you can see, message facets not so useful as they may seem... Artyom