[Libreoffice-bugs] [Bug 130110] New: lang parameter of loleaflet.html
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 21 12:59:28 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=130110
Bug ID: 130110
Summary: lang parameter of loleaflet.html
Product: LibreOffice Online
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: timar74 at gmail.com
I tested Nextcloud integration but the problem is general. We need to
distinguish language variant and locale.
Steps to reproduce:
* Set Nextcloud language to English (US)
* Set Nextcloud locale to Swiss German
* Open spreadsheet in Collabora Online from a template with Swiss German spell
check language
Expected results:
* Collabora Online UI (e.g. menu bar) is in English
* Collabora Online spell check is in Swiss German
* Collabora Online local (e.g. cell format) is in Swiss German
Actual results:
* Collabora Online UI (e.g. menu bar) is in English
* Collabora Online spell check is in Swiss German
* Collabora Online locale (e.g. cell format) is in English
Nextcloud passes lang=en-ch which is weird (English as spoken in Switzerland?),
but Online falls back to en-US presumably.
Another example:
* Set Nextcloud language to English (US)
* Set Nextcloud locale to English (UK)
Nextcloud passed lang=en-gb. The Online JavaScript UI changed to en-GB (e.g.
"Colour") but tunneled dialog still came in en-US (e.g. "Color").
Another example:
* Set Nextcloud language to Portuguese (Brazil)
* Set Nextcloud locale to Portuguese (Portugal)
Nextcloud passed lang=pt-pt unexpectedly, thus the UI turned into Portuguese
(Portugal).
So on Online side, there should be a better interface.
* Existing lang parameter should expect a BCP 47 language tag or something
similar for UI language of Online (both js and tunneled stuff from core).
* There should be a new locale parameter and integrations should use it.
--
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/20200121/c8172646/attachment.htm>
More information about the Libreoffice-bugs
mailing list