Hi, Thomas,

On 7/9/2010 09:31, Thomas Lange - Sun Germany - ham02 - Hamburg wrote:

Hello again,


One possible problem: does %My work, or only %MY ("Y" upper-case), and
similarly for nu.
Since neither of us has a working German version, maybe Sigrid will be
kind enough to tell us.

The exact case as in symbol.src in RID_UI_SYMBOL_NAMES is required.

Also translation of those symbol names must follow a specific syntax
otherwise the result in the formula editor may not work.
The required naming scheme for those symbols is:

1) They must start with an alphabetic character
2) The following characters may be alphanumeric or a '.' (ASCII period)

This especially allows for
   - Alpha2
   - alpha.small, alpha.large, less.equal
   - use of non-western characters like Russioan, Greek, Japanese, ...
and it implicitly disallows
   - names containing white spaces
   - more than one word (those should be written as e.g.
     AbcDefg or abc.defg, ...)
   - the use of the _ character
     (that one is used as subscript symbol after all)


Minor correction about the English names used in the ODF file format:
The names used there (which a normal user will never see) are those
defined in RID_EXPORT_SYMBOL_NAMES in symbol.src (which just happen to
be the same as the en-US UI names listed in RID_UI_SYMBOL_NAMES).


Regards,
Thomas

Thank you very much for your invaluable insights into the world of localization. I found enough information to fix the German documentation on the wiki (although "symbol.src" does not list German as a language; French, Swedish, Italian...).

Other names are localized as well, notably "jota/JOTA". It will take me a while to compose a note for the English version of the Math Guide / Writer Guide (unless someone beats me to it) to the effect that these symbols (Greek and Special) may be localized, but the file itself will be coded in a universal format.

--
With much gratitude,
/tj/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@documentation.openoffice.org
For additional commands, e-mail: dev-h...@documentation.openoffice.org

Reply via email to