Hi,

Frank Schönheit wrote:

currently, no way exists fore mere UNO components to access localized
resources, i.e. data stored in OOo's *.res files [1]. That's Bad (TM),
since it forces UNO components to use unlocalized error messages, for
instance.


I'm not sure OOo's res files are the best thing to use for components. At least they seem better suited to strictly office components, than for any other component that can run in a URE.

FWIW the configuration database can automatically retrieve data for the current UI locale. This has been (ab)used by component authors to provide localized messages. I can't say whether we consider that a good thing, but as one data point, even the OOo command names (for menus or toolbar tooltips) are localized this way now.

For standalone UNO components the configuration has the added benefit that configuration files can be deployed using the UNO package manager.

-- Joerg


--
Joerg Barfurth           phone: +49 40 23646662 / x66662
Software Engineer        mailto:[EMAIL PROTECTED]
Desktop Technology       http://reserv.ireland/twiki/bin/view/Argus/
Thin Client Software     http://www.sun.com/software/sunray/
Sun Microsystems GmbH    http://www.sun.com/software/javadesktopsystem/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to