Bug 114696 - Compound string in Calc: "Total " + "Result"
Summary: Compound string in Calc: "Total " + "Result"
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 171413 (view as bug list)
Depends on:
Blocks: l10n-Optimization
  Show dependency treegraph
 
Reported: 2017-12-26 11:24 UTC by Mihkel Tõnnov
Modified: 2026-03-20 12:30 UTC (History)
2 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 Mihkel Tõnnov 2017-12-26 11:24:49 UTC
The totals row/column header in pivot tables is composed of two separate strings:
"Total" = key-ID gX9QE, location: globstr.hrc:154, context: STR_PIVOT_TOTAL
"Result" = key-ID nRMet, location: globstr.hrc:141, context: STR_TABLE_ERGEBNIS

This makes it very difficult to translate correctly. It should be substituted with a proper single string: "Total Result".

Looking at the string definitions in the code (admittedly with layman's eyes) I get the suspicion that there may be more compounding in play besides the aforementioned:
https://opengrok.libreoffice.org/xref/core/sc/inc/globstr.hrc#154 has "Total", "Data", "Group"
https://opengrok.libreoffice.org/xref/core/sc/inc/globstr.hrc#140 has "Grand", "Result".

If that is indeed the case, all the possible combinations should be replaced with respective composites as single strings.
Comment 1 Mihkel Tõnnov 2017-12-26 12:11:09 UTC
Played around some more with a pivot table and found that "Total" is also compounded with these:
"Sum" = FDigt, globstr.hrc:181, STR_FUN_TEXT_SUM
"Count" = SZAUf, globstr.hrc:183, STR_FUN_TEXT_COUNT
"Average" = B58nD, globstr.hrc:185, STR_FUN_TEXT_AVG
"Median" = AoUSX, globstr.hrc:186, STR_FUN_TEXT_MEDIAN
"Max" = YMzF9, globstr.hrc:187, STR_FUN_TEXT_MAX
"Min" = A8fBH, globstr.hrc:188, STR_FUN_TEXT_MIN
"Product" = oZVg5, globstr.hrc:189, STR_FUN_TEXT_PRODUCT
"StDev" = 6FXQo, globstr.hrc:190, STR_FUN_TEXT_STDDEV
"Var" = NhH7q, globstr.hrc:191, STR_FUN_TEXT_VAR

All of these are also used on their own.

Not sure about the other strings I mentioned in comment #0.

The issue is inherited from OOo (found an old spreadsheet created with OOo 3.2.0 that shows "Total Result" translated in a way that could only stem from string compounding).
Comment 2 Buovjaga 2017-12-26 19:36:05 UTC
Let's set to NEW.
Comment 3 QA Administrators 2018-12-28 03:46:44 UTC Comment hidden (obsolete)
Comment 4 Mihkel Tõnnov 2020-01-06 09:49:45 UTC
Still repro in current master.
Comment 5 QA Administrators 2022-01-06 03:45:45 UTC Comment hidden (obsolete)
Comment 6 m_a_riosv 2026-03-20 11:31:24 UTC
*** Bug 171413 has been marked as a duplicate of this bug. ***
Comment 7 Carsten Oberscheid 2026-03-20 12:29:48 UTC
Since "my" Bug 171413 has been declared a duplicate of this very old and very inactive one, I'd like to boost it.

Having prominent cells in a pivot table stick out like a sore thumb because they are not translated is a serious issue even for private use, let alone anything (semi-)professional, where presentation sometimes matters. This issue alone might prevent people from ditching Excel for Calc, since pivot tables are an essential tool for may applications.

I understand that there are non-trivial reasons in the current implementation of pivot tables that make the main results label hard to translate.

Are there any devs "in charge" for pivot tables and if so, are they aware of this issue? Is there any way I can help?