Talk:AutoCorrect Options - Localized Options

From Apache OpenOffice Wiki
Revision as of 17:39, 17 January 2010 by Es (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

UI problem: Localized (containing local examples) UI string?

The former "Replace 1st... with 1^st..." is called in a general way "Format ordinal numbers suffixes".
While this description is grammatically accurate, this is not really "enlightening" for the user which might not know what this description covers while he will look for this function.
Including examples in the UI is a good practice but the multiplication of UI language * core language makes the display of a correct example pretty complicated:

  • Example: provided the UI language is English but the current list box language is French, the UI should display:
    "Replace 1er... with 1^er..."
    If we revert the language, we should have:
    "Remplacer 1st... par 1^st...".

Provided we have currently (I don't know) 50 possible UI languages, and 6 languages supporting this feature the current choice of a static strings gives:
1 * 50 = 50 translations

If we choose to add hard-coded examples like:
"Replace 1st... with 1^st..."
"Replace 1er... with 1^er..."
...
We get a number of:
6 * 50 = 300 translations!!!!

Proposal: make the examples as variables in the strings, separating UI language of the sentence (GUI language) from the example languages (core language).
So that we will have:
<UI_Language>Replace 1</UI_Language><core_language>er</core_language><UI_Language>... with 1^</UI_Language><core_language>er</core_language>...
In other words, the translations string will be for English:

Replace 1%1... with 1^%1...

Where %1 is a core language string chosen among 6 possible values.

So we CAN have the cake and eat it!!! ;)))

Personal tools