You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix page translation adapter not translating host content #187
The Page Translation prototype does not translate the host page when a target language is selected and Translate Page is pressed. The screenshots show the target-language control and action buttons, but the article headings and content remain unchanged.
Reproduction
Open the simulated long article route.
Open Accessibility preferences and the Page Translation section.
Grant/retain translation consent if prompted.
Select Sinhala (or another supported target language).
Click Translate Page.
Observe that the host article content is not translated.
Expected behavior
Supported host text is translated through the configured/offline adapter, with clear loading, success, and error states. The original DOM/content must be restorable with Restore Original.
Acceptance criteria
Translation action changes supported host text using the selected language and adapter.
Translation status and failures are visible and announced accessibly.
Restore Original returns the exact original content and structure.
Repeated translate/restore operations are idempotent and do not duplicate or corrupt nodes.
Headings, paragraphs, links, and dynamically inserted content follow the documented adapter behavior.
Privacy/consent boundaries remain enforced and no unexpected network request is introduced.
Screenshots attached in the report. Parent issue: #8
Completed in PR #198 (commits fb38594, 872a5cf, 0234149): repaired TranslationAdapter and TranslationController with offline lexicons (si, ta, es, fr, de, ja, zh), widget/form protection, status banners, live language switching, and clean restoration.
Activity
prabothcharith commentedon Nov 16, 2026
Screenshot references
prabothcharith commentedon Nov 16, 2026
Completed in PR #198 (commits fb38594, 872a5cf, 0234149): repaired TranslationAdapter and TranslationController with offline lexicons (si, ta, es, fr, de, ja, zh), widget/form protection, status banners, live language switching, and clean restoration.