Qt Code:
QTextToSpeech *tessi = new QTextToSpeech(this); QVector<QLocale> localein = tessi->availableLocales(); out << "QTextToSpeech availableLocales \n"; int nr = (int)locale.language(); .arg(locale.bcp47Name())); out << "Lang Found:" << nr << "-" << name; out << "\n"; } out << "end... \n"; out.flush();To copy to clipboard, switch view to plain text mode
How i can get the correct name from country self & language...
the result is :
Lang Found:31-English (en)
Lang Found:58-Italian (it)
Lang Found:114-Swedish (sv)
Lang Found:37-French (fr-CA)
Lang Found:42-German (de) but i wand "Deutsch"
Lang Found:48-Hebrew (he)
....... and other...
to get first 3 letter from https://github.com/tesseract-ocr/langdata
to download is data key... text key unicode qchar ecc...
example if i have the 3 first letter German ger not corect is deu "deutsch" its here a way? or write from hand a translate...
Bookmarks