Bug 105429 - Names of new default set of cell styles not localized
Summary: Names of new default set of cell styles not localized
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
5.3.0.1 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 107361 114446 131845 (view as bug list)
Depends on:
Blocks: Calc-Styles Not-Localizable 90937
  Show dependency treegraph
 
Reported: 2017-01-18 20:04 UTC by Leif Lodahl
Modified: 2024-07-07 14:17 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leif Lodahl 2017-01-18 20:04:38 UTC
Description:
Ubuntu Linux 64 bit.
LibreOffice 5.3.0.2 Danish language pack (da-DK)
In Calc the names of cell styles are in English (Standard, Accent, Heading, Status, Text etc.)

These strings have been translated for months now.

Actual Results:  
Style names are in English

Expected Results:
Style names should be in Danish


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Comment 1 Thomas Hackert 2017-01-21 13:34:01 UTC
Hello Leif, *,
thank you for reporting this bug :) I can confirm it with

OS: Debian Testing AMD64
LO: Version: 5.3.0.2
Build-ID: 5ad7b2889021c491af62f7930a4b1cb631392f16
CPU-Threads: 4; BS-Version: Linux 4.5; UI-Render: Standard; VCL: gtk2; Layout-Engine: neu; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group
(parallel installed, following the instructions from https://wiki.documentfoundation.org/Installing_in_parallel/Linux with de_DE lang- as well as helppack)

so setting the status to "NEW".
HTH
Thomas.
Comment 2 Gabor Kelemen (allotropia) 2017-05-19 07:55:20 UTC
*** Bug 107361 has been marked as a duplicate of this bug. ***
Comment 3 Gabor Kelemen (allotropia) 2017-05-19 07:58:25 UTC
See attachment 132762 [details] from the duplicate bug.
Comment 4 Oliver Brinzing 2017-05-19 08:30:41 UTC Comment hidden (obsolete)
Comment 5 Yousuf Philips (jay) (retired) 2017-05-30 05:47:42 UTC
So the issue is that the names are being pulled from the xml file, so there are no code strings that can be set for translation.
Comment 6 Yousuf Philips (jay) (retired) 2017-10-19 10:10:33 UTC
Gabor: Is this something you can look into?
Comment 7 Gabor Kelemen (allotropia) 2017-10-19 12:59:19 UTC
(In reply to Yousuf Philips (jay) from comment #6)
> Gabor: Is this something you can look into?

Sure, I already tried to understand what's going on, but without success so far.
Comment 8 Markus Mohrhard 2017-10-19 19:05:14 UTC
ScOrcusFiltersImpl::importODS_Styles is the method that does the importing.

Most likely the only reasonable solution is to extract the style names and store them in an additional list that can then be translated and mapped back during import. Note that the ID part of the style name needs to stay the en_US string.
Comment 9 Yousuf Philips (jay) (retired) 2017-12-13 22:43:36 UTC
*** Bug 114446 has been marked as a duplicate of this bug. ***
Comment 10 QA Administrators 2018-12-14 03:55:40 UTC Comment hidden (obsolete)
Comment 11 Oliver Brinzing 2018-12-15 09:18:32 UTC
still reproducible with

Version: 6.1.4.2 (x64)
Build-ID: 9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc:
Comment 12 Julien Nabet 2020-04-03 08:53:36 UTC
*** Bug 131845 has been marked as a duplicate of this bug. ***
Comment 13 Julien Nabet 2020-04-03 09:04:39 UTC Comment hidden (off-topic)
Comment 14 Julien Nabet 2020-04-03 09:05:38 UTC Comment hidden (off-topic)
Comment 15 QA Administrators 2022-04-04 03:30:56 UTC Comment hidden (obsolete)
Comment 16 QA Administrators 2024-04-04 03:15:32 UTC Comment hidden (obsolete)
Comment 17 Cor Nouws 2024-04-04 10:06:53 UTC
looks OK to me in Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 56767830b81fa21382b87cf43d78b1c73ca5dbd8
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: nl-NL
Calc: threaded
so fixed in the mean time..
Comment 18 OfficeUser 2024-07-07 14:17:57 UTC
Looks fixed in:
Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.5
Calc: threaded