Hi Brian,

Alle 18:28, luned� 11 aprile 2005, Brian Raymond ha scritto:
[....]
> > To do this, you have to create a configuration schema (xcs-file)
> > defining properties of type 'xs:string' which are marked as
> > 'oor:localized="true"'. Then you can provide a data file (xcu) that
> > provides the localized texts.
>
> The only thing I've seen code on are things that use the configuration
> services and in the java code uses the locale setting to pull the right
> string out. I haven't seen anything that does it automatically as you
> suggest. Is it possible for you to point me to a code sample showing how to
> do this in java?

You can see some example of localization via configuration service in theese 
uno-packages :

http://prdownloads.sourceforge.net/ooomacros/TextToColumns_2004-10-10.zip?download

http://prdownloads.sourceforge.net/ooomacros/ExportDBWizard_2004-10-10.zip?download

The configuration schema is the file:
AddonConfiguration.xcs

Configuration data and translated strings are in
AddonConfiguration.xcu


HTH
Paolo Mantovani


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

Reply via email to