Hi Winfried, On Thursday, 2013-09-26 22:19:14 +0200, Eike Rathke wrote:
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.
Commit ecefa40c081a0b6677e946603d553d9382f9b9ca should fix that and the locale should be 'nl-NL'. There may be other places though that previously relied on the implicit fallback whenever MsLangId::convert...() were called. 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:
pgpHSrHRNlyxH.pgp
Description: PGP signature