unexpected behaviour whilst fixing fdo#50118
Eike Rathke
erack at redhat.com
Thu Sep 26 14:06:15 PDT 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130926/5154f04b/attachment.pgp>
More information about the LibreOffice
mailing list