Coder Social home page Coder Social logo

Comments (7)

andrenatal avatar andrenatal commented on June 23, 2024

I'm unable to reproduce this on pages besides Russian. This very long page for example https://en.wikipedia.org/wiki/United_States translated fine from en-us to pt-br without skipping paragraphs.

Do you have examples in other languages?

from firefox-translations.

andrenatal avatar andrenatal commented on June 23, 2024

I think this is related to the prioritization queues. The in-page parser always starts translating what's in the viewport. So if I start translating from the top, the first paragraphs right after the viewport's end are skipped, but if I first scroll down and put these same paragraphs in the viewport, they are properly translated quickly.

from firefox-translations.

andrenatal avatar andrenatal commented on June 23, 2024

I'm also seeing quite a few exceptions raised by the engine when translating with Russian involved.

from firefox-translations.

kpu avatar kpu commented on June 23, 2024

Can you be more specific about the exceptions?

from firefox-translations.

andrenatal avatar andrenatal commented on June 23, 2024

from firefox-translations.

kpu avatar kpu commented on June 23, 2024

25503dc has fixed this. I see full translation (albeit with bad quality and lots of dots) in 25503dc while c40f707 was indeed leaving Russian paragraph in the text.

This confirms the hypothesis stated in #51 (comment) that the crash was due to mismatch between the HTML feature setting and the content provided.

from firefox-translations.

eu9ene avatar eu9ene commented on June 23, 2024

ok, I don't see this issue with the latest main now

from firefox-translations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.