Bug 79412 - UI: StringArray ItemLists are not translated anymore
Summary: UI: StringArray ItemLists are not translated anymore
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
4.3.0.0.beta1
Hardware: Other All
: medium normal
Assignee: Christian Lohmaier
URL:
Whiteboard: BSA
Keywords: possibleRegression
Depends on:
Blocks:
 
Reported: 2014-05-29 13:39 UTC by Thomas Arnhold
Modified: 2015-12-15 10:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Page Options tab page in writer (pt-BR locale) (61.21 KB, image/png)
2014-05-29 13:39 UTC, Thomas Arnhold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Arnhold 2014-05-29 13:39:48 UTC
Created attachment 100106 [details]
Page Options tab page in writer (pt-BR locale)

Problem description:
StringArray ItemList items are no longer translated.

Steps to reproduce:
0. Choose a language different to English, for example pt-BR
1. Open writer.
2. Go to Format -> Page -> Page
3. Choose a paper format from the dropdown list (See screenshot)

Another example: Open math -> Tools -> Catalog - The dropdown list shows only English entries. Also the symbols are not localized (alpha should be alfa in pt-BR).

Current behavior:

The list items are not translated. This works well with 4.2.


Investigation:

Take RID_SVXSTRARY_PAPERSIZE_STD (cui/source/tabpages/page.src) for example. Or starmath/source/symbol.src which is responsible for the Symbol catalog in math.

When I grep for pt-BR alpha (is alfa) in workdir (--with-lang=ALL), there are no hits:

grep 'alfa' workdir/*/starmath/source/symbols.src


              
Operating System: All
Version: 4.3.0.0.beta1
Last worked in: 4.2.4.2 release
Comment 1 Julien Nabet 2014-05-29 14:13:49 UTC
On pc Debian x86-64 with master sources updated today, I can reproduce this (French UI)
Comment 2 Andras Timar 2014-05-29 14:54:58 UTC
It seems that Pootle contains wrong pot files. All languages are affected but Slovenian, who don't use Pootle. 

'make translations' in libreoffice-4-3 branch generates pot files. In my tree I get the following entry:

#. pBpLj
#: symbol.src
msgctxt ""
"symbol.src\n"
"RID_UI_SYMBOL_NAMES\n"
"alpha\n"
"itemlist.text"
msgid "alpha"
msgstr ""

In Pootle I see the following:

#. DoRHE
#: symbol.src
msgctxt ""
"symbol.src\n"
"RID_UI_SYMBOL_NAMES\n"
"1\n"
"itemlist.text"
msgid "alpha"
msgstr ""

Note, that IDs are different. It was changed from 4.2 to 4.3, because identifying list elements by numbers was error prone. See: http://cgit.freedesktop.org/libreoffice/core/commit/l10ntools?id=46d0619b547a0decb6dfa8836d1ad63c90ef2f9a

@Cloph: can you please check how you generated pots and update Pootle?
Comment 3 Andras Timar 2014-06-16 09:18:18 UTC
It's been fixed by an update in Pootle.
Comment 4 Christian Lohmaier 2014-06-16 12:58:16 UTC
See also

http://www.mail-archive.com/l10n@global.libreoffice.org/msg07862.html
http://www.mail-archive.com/l10n@global.libreoffice.org/msg07875.html

sorry that I did miss the initial bugmail...
Comment 5 Robinson Tryon (qubit) 2015-12-15 10:54:57 UTC
Migrating Whiteboard tags to Keywords: (possibleRegression)
[NinjaEdit]