On terça-feira, 21 de maio de 2013 19.18.26, Dmitrii Volosnykh wrote: > QLocale has methods: > 1. nativeLanguageName() > Returns locale's language name in native spelling. > 2. languageToString() [static] > Returns other language name in English. > > I need a method to return other language name in, say, default > locale's spelling. Some sort of languageToString() method, but > non-static. How to achieve this?
QLocale does not store each language name in each other language in its database. If you really need the full table of all language names in all the languages, you'll need to get that information from somewhere (maybe ICU?) and load it in your application. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest