LiMinggang / madedit-mod

MadEdit-Mod is a cross platform Text/Hex editor(based on the madedit project @ sourceforge)
GNU General Public License v3.0
126 stars 27 forks source link

Translation bug of wxWidgets #283

Closed LiMinggang closed 4 years ago

LiMinggang commented 5 years ago

Madedit-Mod version (or branch): 0.4.16/development platform/architecture: All compiler and compiler version: All please describe what symptom you see, what you would expect to see instead and how to reproduce it. I found a translation/I18n related issue in wxWidgets 3.0.4/3.1.2/master in GitHub. The bug was introduced by the change "Load catalogs for all preferred languages, if they exist" at Nov 18, 2018.(​https://github.com/wxWidgets/wxWidgets/commit/2d784da2ee12cc5a6d89b011827cff6361a12c23#diff-9402b99a345f42d87ee10f6bf7a7c93b) Before the change, I can choose any language/translation as I wish. After this change, I can choose any language/translation as I wish only if the default language is English. On the OS which default language is not English, zh_CN is the default one in my case, I can only switch between zh_CN and English. It would always use zh_CN if I chose other available language/translation, eg, Italian, Japanese.

Ticket opened in wxWidgets https://trac.wxwidgets.org/ticket/18390

This has been fixed in wxWidgets development branch. I'll fix the issue in next release.