zh_TW be detected as zh_CN

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
dannylin
Posts: 10
Joined: Mon Jan 02, 2017 4:54 pm

zh_TW be detected as zh_CN

Post by dannylin »

On traditional Chinese (Big5) Windows 7 SP1 / XnView MP 0.86 (x64). When language is set to <autodetect>, the result is always Chinese Simplified (zh_CN) instead of Chinese traditional (zh_TW).

It might be because that the language code got from the system could be "zh-TW", "zh-tw", "zh_TW", etc, in different contexts, which could cause an unexpected autodetection. Additionally, the language pack in XnView seems to be "tw" instead of "zh-tw", which could have caused the issue.
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: zh_TW be detected as zh_CN

Post by xnview »

And if you rename xnview_tw.qm as xnview_zh_TW.qm, same problem??
Pierre.
Post Reply