Firefox offers to translate Ukrainian websites "from Russian"
Categories
(Firefox :: Translations, defect)
Tracking
()
People
(Reporter: kotyhoroshko, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Steps to reproduce:
Have Ukrainian as the preferred language in the browser (not necessary to reproduce).
Navigate to one of the following websites:
(these are in Ukrainian language)
Actual results:
A popup appears offering to translate the page "from Russian" to English.
Expected results:
Firefox should not offer to translate the the page because it is already in the preferred language.
Reporter | ||
Updated•10 months ago
|
Reporter | ||
Comment 1•10 months ago
|
||
To address a potential question on how "difficult" it might be to discern the two languages, I would like to say that around every third word contains a character simply not present in Russian: і
and also ї
, є
, ґ
, '
.
Also, it is possible that these websites somehow set their metadata incorrectly.
Comment 2•10 months ago
|
||
I can't load the third one (it weirdly redirects to https://hsc.gov.ua/google.com
after a while), but the first two declare themselves to have content in Russian
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#" xml:lang="ru-ru" lang="ru-ru">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru">
Comment 3•10 months ago
|
||
Bug 1859081 has discussions about doing language detection even if a lang tag is declared, not sure if the team wants to dupe this type of bugs against that.
Updated•10 months ago
|
Reporter | ||
Comment 5•10 months ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #2)
I can't load the third one (it weirdly redirects to
https://hsc.gov.ua/google.com
after a while), but the first two declare themselves to have content in Russian<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#" xml:lang="ru-ru" lang="ru-ru"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ru">
Thanks a lot for this finding! I see a similar thing on the third website.
Firefox behaviour is not unexpected then.
Description
•