Issue 86437 - rule for determining the default title of a element in a localized addons.xcu doesnt't follow the documentation
Summary: rule for determining the default title of a element in a localized addons.xcu...
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.3.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
: 87386 (view as issue list)
Depends on:
Reported: 2008-02-25 12:14 UTC by clutz
Modified: 2014-01-31 11:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description clutz 2008-02-25 12:14:18 UTC
The developers-guide defines in chapter 4.7.3, how the title of a element in the
addons.xcu should be determined if there are language specific translations
provided, but there is no translation for the current language:

Title: Contains the title of a top-level menu item.  This property supports
localization: The default string, which is used when cannot find
a string definition for its current language, uses the value element without an
attribute. You define a string for a certain language with the xml:lang
attribute. Assign the language/locale to the attribute, for example  <value

This rule dosn't seem to be applied for my addons.xcu-file. Here is a snippet of
my addons.xcu as an example:

        <node oor:name="m1" oor:op="replace">
          <prop oor:name="URL" oor:type="xs:string">
          <prop oor:name="Title" oor:type="xs:string">
            <value>Textbaustein einfügen</value>
            <value xml:lang="nl">Textbouwsteen toevoegen</value>
          <prop oor:name="ImageIdentifier" oor:type="xs:string">
          <prop oor:name="Target" oor:type="xs:string">
          <prop oor:name="Context" oor:type="xs:string">

According to that rule, you can see that the default title for this element
should be "Textbaustein einfügen", so if I use the language "de" (which is not
explicitly in the list and not "nl"), I would expect to get "Textbaustein
einfügen" as title. But this is not what I get. I always get the nl-Version
"Textbouwsteen toevoegen". It seems that the last <value> always wins.
Comment 1 Edwin Sharp 2014-01-31 11:58:33 UTC
*** Issue 87386 has been marked as a duplicate of this issue. ***