[Interest] Language codes, etc. (Set of ISO 639 standards)
Thiago Macieira
thiago.macieira at intel.com
Tue May 21 17:39:18 CEST 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130521/28257b90/attachment.sig>
More information about the Interest
mailing list