[Libreoffice-bugs] [Bug 134155] Calc VIEWING: Boolean values shown in locale instead of UI language

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 30 20:07:54 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134155

--- Comment #5 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to christos from comment #4)

The cell value is displayed always according to the language defined for the
number format of that cell.

(In reply to christos from comment #0)
> Calc should show
> Boolean values in the language in which LibreOffice communicates with the
> user, as it does for functions. Locale serves a different purpose. For
> example, someone living in a country with a different convention for the
> decimal separator can paste numbers with decimal digits from websites or
> text files into Calc with no risk of Calc converting these numbers into
> text. The UI language is a communication language, the locale a technical
> language.

The question is: given the locale that you chose (Spanish) and UI language
(en-US), how do you thing should *numbers* be displayed in a new spreadsheet by
default? According to Spanish rules, or according to rules used in USA?

In LibreOffice, the convention is that locale rules are used to format numbers
- *by default*. Note that the language shown in status bar is misleading and
only shows the language used for spell check (available on cell format's Font
tab); but number format locale is available on cell format's *Numbers* tab. And
that is what gives you the "unexpected" boolean value display: just like
formatting of numbers would use comma for decimal separator for Spanish locale,
the same logic requires that true value be formatted according to same locale's
rules.

If you think that not only boolean values, but any formats should *by default*
follow UI language and not locale, then there's a place for discussion (which I
can't participate in). Likely it's considered that being in sole place
(locale), display of values in the spreadsheet should match the place rules ...
but as I said, I can't discuss reasons. My point is that either it should stay
as it is, or *all* formats should by default follow UI language, not only
booleans, but also numbers, dates, times, currencies (!), etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200730/44c71ead/attachment.htm>


More information about the Libreoffice-bugs mailing list