On Wed, 2011-04-13 at 14:32 +0300, Lior Kaplan wrote:
And for the other question mentioned on the debian bug report - I'd
like to have Hebrew the default CTL language when the Hebrew lang pack
is installed.
Not so sure about that one, the default languages (unless overridden)
are supposed to be taken from the system locale regardless of what
language packs happen to be installed.
So if your locale is he_IL then it "just works" and the CTL should be
hebrew regardless of what langpacks are installed.
The grey area of course is if your system locale is set to something
which is categorized as "Western" then what to fill in for the other
categories, so I stuck a finger in the air and put the languages with
the most (either first or more) language speakers/readers as the default
fallbacks. I *suppose* it might not be the craziest idea to examine the
installed langpacks in this case before falling back to those final
defaults.
i.e. see MsLangId::resolveSystemLanguageByScriptType in
i18npool/source/isolang/mslangid.cxx and potentially some sort of "see
what CTL packs are installed and bias towards installed one"
C.
p.s. Under windows there are a few categories of locale that can be
looked into to try a few more places, but all we got under unx is the
single locale setting, unless anyone has any other good ideas.
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.