diff options
author | Eike Rathke <erack@redhat.com> | 2017-12-06 13:21:50 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-12-06 20:13:22 +0100 |
commit | c2bd06120b932bf3757f19bdf8c8d9ee8a31f557 (patch) | |
tree | 5cd89e1bc2e2ea7eef1cc13c7e04265dabc2f798 /toolkit | |
parent | 7265e75f8b34cc1043b972478e8b499566660f86 (diff) |
Handle conversion from glibc locale to BCP 47 language tag
The backend's ImplGetLocale() didn't handle variants, so
ca_ES@valencia ended up as ca-ES instead of ca-ES-valencia, which
made a difference with for example the UI language being set to
Default resulting in only ca instead of ca-valencia, which then
is also written to /org.openoffice.Setup/L10N/ooLocale during
startup and obtained later.
This only for the *iX branch, no idea if and what could be
adjusted for Windows or MacOSX.
Change-Id: I050f6f643571ccdc669fb91b06f3bb516f96e8d5
Reviewed-on: https://gerrit.libreoffice.org/45946
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'toolkit')
0 files changed, 0 insertions, 0 deletions