Closed Bug 1895066 Opened 5 months ago Closed 5 months ago

Firefox offers to translate Ukrainian websites "from Russian"

Categories

(Firefox :: Translations, defect)

Firefox 125
defect

Tracking

()

RESOLVED DUPLICATE of bug 1859081

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.

Component: Untriaged → Translations

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.

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">

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.

Status: UNCONFIRMED → RESOLVED
Closed: 5 months ago
Duplicate of bug: 1859081
Resolution: --- → DUPLICATE

(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.

You need to log in before you can comment on or make changes to this bug.