Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi Winfried,

On Thursday, 2013-09-26 12:12:48 +0200, Winfried Donkers wrote:

In /sc/source/core/tool/addincol.cxx in ScUnoAddInCollection::ReadFromAddIn() I use 
Application::GetSettings().GetUILanguageTag().getLocale() (not yet pushed, still in 
https://gerrit.libreoffice.org/#/c/6032/), which works well during start up.
But when calling Application::GetSettings().GetUILanguageTag().getLocale() again later, when the 
gobal setting 'Use English function names' has been changed, the call returns an empty locale 
(i.e. locale.Country is empty)!

Let me guess, your system locale and UI localization is Dutch, and at
that place of the application locale only Country and Variant are empty
but Language=="nl"? I think I know why, need some more digging.

  Eike


-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack

Attachment: pgp5c7KOWQA4Z.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.