https://bugs.documentfoundation.org/show_bug.cgi?id=115795

--- Comment #1 from Franklin Weng <[email protected]> ---
The problem seems to be here:

https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/appserv.cxx

Line 500:

        case SID_Q_AND_A:
        {
            // Askbot has URL's normalized to languages, not locales
            // Get language from locale: ll or lll or ll-CC or lll-CC
            OUString aLang =
LanguageTag(utl::ConfigManager::getLocale()).getLanguage();
            OUString sURL("https://hub.libreoffice.org/forum/?LOlang="; +
aLang);
            sfx2::openUriExternally(sURL, false);
            break;
        }

The aLang got the wrong value, should be "zh-tw" instead of "zh".

However the locale shown in the about dialog is correct:

版本:6.0.1.1
組建 ID:1:6.0.1~rc1-0ubuntu0.16.04.1~lo1
CPU 執行緒:4; OS:Linux 4.11; UI 算繪:預設; VCL: kde4; 
語言地區:zh-TW (zh_TW.UTF-8); Calc: group

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to