[Qt-interest] simplified Chinese

suzuki toshiya mpsuzuki at hiroshima-u.ac.jp
Fri Sep 9 03:09:53 CEST 2011


Hi,

QLocale::script() in Qt4.8 distinguishes QLocale::SimplifiedChineseScript
or QLocale::TraditionalChineseScript. Do you have to use Qt4.7?

Regards,
mpsuzuki

John Weeks wrote:
> In an application that we are porting to Qt we have a test for various languages. On Windows we use GetLocaleInfo(), and we get a primary and secondary language id. The secondary id is used only to distinguish between Traditional and Simplified Chinese.
> 
> I don't find such a distinction in QLocale::language(). Would this distinction be made based on country? Or maybe there's a Qt API that I haven't discovered?
> 
> Thanks!
> 
> Regards, John Weeks
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list