Description: In traditional Chinese interface (zh-TW locale), the "Donate to LibreOffice" button in Help menu redirects user to zh-CN page instead of zh-TW one. Steps to Reproduce: 1. Switch to Chinese (Traditional) user interface, that is zh-TW locale 2. Click "說明 > 贊助 LibreOffice" to donate to LibreOffice 3. LibreOffice launches a browser and try to load https://hub.libreoffice.org/donation/?BCP47=zh-TW&LOlang=zh page Actual Results: The site redirects user to https://donate.libreoffice.org/zh-CN/?pk_campaign=hub page for zh-CN locale Expected Results: The site redirects user to https://donate.libreoffice.org/zh-TW/?pk_campaign=hub page for zh-TW locale Reproducible: Always User Profile Reset: No Additional Info:
Donation local is assigned by locale [1], and donation page for zh-TW [2] has been built. Guess this would mean the donation/?BCP47=zh-TW&LOlang=zh is incorrectly using the fallback. =-ref-= [1] https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/appserv.cxx#566 [2] https://donate.libreoffice.org/zh-TW/?pk_campaign=hub
(In reply to V Stuart Foote from comment #1) > Donation local is assigned by locale [1], and donation page for zh-TW [2] > has been built. Guess this would mean the donation/?BCP47=zh-TW&LOlang=zh is > incorrectly using the fallback. > > =-ref-= > [1] > https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/appserv.cxx#566 > > [2] https://donate.libreoffice.org/zh-TW/?pk_campaign=hub Confirmed. Same as #115795, using LOlang=zh would cause similar problems. However I've tried to change it to LOlocale = utl::ConfigManager::getUILocale(), but it then jumped into English pages. Maybe it would need to fix at the hub side too.
Fixed by Guilhem from the hub.libreoffice.org side. It works now.