Closed Bug 1836117 Opened 11 months ago Closed 4 months ago

Page translation doesn't work on https://mrotherguy.github.io/fx-nightly-changelog/

Categories

(Firefox :: Translations, defect, P3)

Firefox 115
x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox115 --- affected

People

(Reporter: gregp, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(3 files)

Attached video bug.webm

Steps to reproduce:

  1. Navigate to https://mrotherguy.github.io/fx-nightly-changelog/
  2. Open the app menu
  3. Select "Translate Page..."
  4. Select "Estonian" as the language to translate to
  5. Press "Translate"

Actual results:
Page glitches out, a bunch of content disappears

Expected results:
Page translates normally

Type: task → defect

This appears to be an issue with the estonian model, it translates fine on en -> es.

This is what gets sent in to the Estonian model.

<a slot="bug-id" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1835681" title="RESOLVED" data-moz-translations-id="0">#1835681 R</a><span slot="bug-component" data-moz-translations-id="1">[Core:CSS Parsing and Computation]</span><span slot="bug-description" data-moz-translations-id="2">Update bitflags in the dom and style crates</span>

The markup that comes out is mangled:

<a slot="bug-id" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1835681" title="RESOLVED" data-moz-translations-id-0">#1835681 R</a><span slot="CSbug-komponent" data-moz-translations-id=">/Core:CSS Parsing and Computation/</span>span span sbug-bug-" data-moz-translation-id="2">Update bit lipud dom ja stiil kraatrid</span>

Specifically this is broken: data-moz-translations-id="

This is an upstream issue with Bergamot.

Attached image french_bug.png

Looks like the French model is also having a moment

Blocks: 1836125
Severity: -- → S3
Priority: -- → P3

French model output:

'a slot'"bug-id" href-" https://bugzilla.mozilla.org/show-bug.cgi?id-1835681" title"" data-moz-translations-id-0"-1835681 R-/a-span slot-span-""""s-com-straducts-moz-translations-moz-transls"bug-description" data-moz-translations-id-2"--Mettre à jour les pavages dans les dom et les caisses de style

Wait, my examples may not be correct. I thought I had turned on useHTML, but I guess I didn't refresh the test page. Estonian output looks correctly formed.

<a slot="bug-id" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1835681" title="RESOLVED" data-moz-translations-id="0">#1835681</a> <span slot="bug-component" data-moz-translations-id="1">R-Core:CSS Parsing ja</span> <span slot="bug-description" data-moz-translations-id="2">Arvutus-Update bit lipud dom ja stiilis kraatsid</span>

As well as this one:

<a slot="bug-id" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1835681" title="RESOLVED" data-moz-translations-id="0">R</a><span slot="bug-component" data-moz-translations-id="1">[Core:CSS Parsing and Computation)</span><span slot="bug-description" data-moz-translations-id="2">Mise</span> <span slot="bug-component" data-moz-translations-id="1">à</span> <span slot="bug-description" data-moz-translations-id="2">jour des basflags dans les caisses dom et de style</span>

So it could be a Gecko bug.

Attached image bulgarian.png

Bulgarian model is also not having a good day

This will be fixed by Bug 1837424.

Depends on: 1837424
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: