LibreOffice Module svtools (master) 1
|
Go to the source code of this file.
Functions | |
SVT_DLLPUBLIC void | localizeWebserviceURI (OUString &io_rURI) |
Localize a URI to one of the foundation's webservices. More... | |
OUString SVT_DLLPUBLIC | getInstalledLocaleForLanguage (css::uno::Sequence< OUString > const &installed, OUString const &locale) |
OUString SVT_DLLPUBLIC | getInstalledLocaleForSystemUILanguage (css::uno::Sequence< OUString > const &installed, bool bRequestInstallIfMissing, const OUString &rPreferredLocale=OUString()) |
OUString SVT_DLLPUBLIC getInstalledLocaleForLanguage | ( | css::uno::Sequence< OUString > const & | installed, |
OUString const & | locale | ||
) |
Definition at line 49 of file langhelp.cxx.
References comphelper::findValue().
Referenced by getInstalledLocaleForSystemUILanguage().
OUString SVT_DLLPUBLIC getInstalledLocaleForSystemUILanguage | ( | css::uno::Sequence< OUString > const & | installed, |
bool | bRequestInstallIfMissing, | ||
const OUString & | rPreferredLocale = OUString() |
||
) |
Definition at line 106 of file langhelp.cxx.
References comphelper::containerToSequence(), eType, getInstalledLocaleForLanguage(), LanguageTag::getLanguage(), LanguageTag::getLanguageType(), o3tl::getToken(), Application::IsHeadlessModeEnabled(), MsLangId::isSimplifiedChinese(), MsLangId::isTraditionalChinese(), nIndex, u, and xLangpackInstaller.
SVT_DLLPUBLIC void localizeWebserviceURI | ( | OUString & | io_rURI | ) |
Localize a URI to one of the foundation's webservices.
io_rURI | URI to localize - depending on your UI locale, a country local part is appended to the URI (like "en", or "fr", or "es") |
Definition at line 30 of file langhelp.cxx.
References equalsIgnoreAsciiCase(), LanguageTag::getCountry(), LanguageTag::getLanguage(), Application::GetSettings(), and AllSettings::GetUILanguageTag().