[Qt-interest] Qt::LayoutDirection and language

Robert Hairgrove evorgriahr at hispeed.ch
Thu May 13 13:59:55 CEST 2010


Diego Iastrubni wrote:
> Be prepared for everything:
> 
> http://www.i18nguy.com/temp/rtl.html
> 
> Also add Yiddish to that list. 

Good web page, thanks!

Qt provides enum values for many more languages than can actually be 
used for locales; at any rate, it seems to default back to the system 
default locale in all cases where QLocale::countriesForLanguage() 
returns an empty list (including Yiddish). The day and month names in 
languages with multiple script possibilities are also usually rendered 
by the Qt locale functions using the scripts/fonts which are most likely 
to be installed in the OS (e.g. Latin fonts). And that is all I need 
this for anyway. I can live with that switch statement!



More information about the Qt-interest-old mailing list