1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 #include <svtools/langhelp.hxx>
13 #include <vcl/svapp.hxx>
14 #include <vcl/settings.hxx>
15 #include <rtl/ustring.hxx>
17 void localizeWebserviceURI( OUString
& rURI
)
19 OUString aLang
= Application::GetSettings().GetUILanguageTag().getLanguage();
20 if ( aLang
.equalsIgnoreAsciiCase("pt")
21 && Application::GetSettings().GetUILanguageTag().getCountry().equalsIgnoreAsciiCase("br") )
25 if ( aLang
.equalsIgnoreAsciiCase("zh") )
27 if ( Application::GetSettings().GetUILanguageTag().getCountry().equalsIgnoreAsciiCase("cn") )
29 if ( Application::GetSettings().GetUILanguageTag().getCountry().equalsIgnoreAsciiCase("tw") )
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */