Closed Crissium closed 1 year ago
Maybe only adding a new language code BritishEnglish, "en-gb"
to QOnlineTranslator::s_googleLanguageCodes
would do? It may not be necessary to modify {English, QStringLiteral("en")}
in QOnlineTranslator::s_genericLanguageCodes
, since en
nowadays defaults to en-us
everywhere. Damn the Yanks!
Sounds like a nice idea. Feel free to try it and send a PR if it works!
Google Translate TTS API supports British pronunciation. The language code is
en-gb
. But I do not think Google would translate into British English.Try this: squirrel
Since this project already differentiates between Simplified and Traditional Chinese, it would seem unfair not to differentiate between [ˈskwɪrəl] and [ˈskwər(-ə)l] ;)