XTranslate icon indicating copy to clipboard operation
XTranslate copied to clipboard

Is there a way to select a dialect?

Open vadimk1337 opened this issue 3 years ago • 1 comments

The fact is that Google determines the dialect of the English language depending on the ip address https://translate.google.com/. For me it's British, for the US it's a US dialect. Google allows you to select a dialect through another link 1)https://translate.google.as/ - Us
2) https://translate.google.co.uk/ - Brit. Is it possible to somehow modify the code so that you can change the dialect in the settings?

  • auto
  • us
  • brit

I just want to listen to the US dialect.

vadimk1337 avatar Apr 25 '22 20:04 vadimk1337

Currently it's not possible in the app.

Here is what is used: https://translate.google.com/translate?tl=${lang}&u=${pageUrl} Most probably it's missing some extra query, e.g. ?param=value to specify desired desired dialect version.

Otherwise please provide all supported dialects/hosts list mapping or where to find docs about it (this will speed up issue resolving).

ixrock avatar May 13 '22 12:05 ixrock