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