FullPageOS icon indicating copy to clipboard operation
FullPageOS copied to clipboard

chromium displays language bar to translate webpage

Open chvajcin opened this issue 6 months ago • 9 comments

Hi, with the recent update, we have again issue that chromium displays translate bar in the upper right corner. How can we get rid of it?

chvajcin avatar Aug 05 '25 15:08 chvajcin

What version of FullPageOS? Nightly or stable?

guysoft avatar Aug 06 '25 09:08 guysoft

Stable. However i found solution in the meantime, just change the flags when running chromium. There is flag with value “translateui” And i just changed it to “translate”. Not sure about exact value, as i am away now, but it fixed the issue.

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Guy Sheffer @.> Sent: Wednesday, August 6, 2025 11:18:30 AM To: guysoft/FullPageOS @.> Cc: chvajcin @.>; Author @.> Subject: Re: [guysoft/FullPageOS] chromium displays language bar to translate webpage (Issue #663)

[https://avatars.githubusercontent.com/u/325670?s=20&v=4]guysoft left a comment (guysoft/FullPageOS#663)https://github.com/guysoft/FullPageOS/issues/663#issuecomment-3158527547

What version of FullPageOS? Nightly or stable?

— Reply to this email directly, view it on GitHubhttps://github.com/guysoft/FullPageOS/issues/663#issuecomment-3158527547, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2POPQNBILMPCUDWPQI5LTD3MHB6NAVCNFSM6AAAAACDFJCTDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNJYGUZDONJUG4. You are receiving this because you authored the thread.Message ID: @.***>

chvajcin avatar Aug 06 '25 10:08 chvajcin

That might mean that we need a code change here: https://github.com/guysoft/FullPageOS/blob/devel/src/modules/fullpageos/filesystem/opt/custompios/scripts/start_chromium_browser#L12

guysoft avatar Aug 11 '25 05:08 guysoft

Chromium decided to remove the disable via flag in a newer chromium version Hope they fix it in the near future, or they provide another solution to this. Related google Issue: https://issues.chromium.org/429137221

Erikel746 avatar Aug 15 '25 10:08 Erikel746

If someone wants to test and report which flag works I can add a fix.

guysoft avatar Aug 31 '25 13:08 guysoft

No flag works... :-( I'm using https://github.com/raspberrypi/rpi-image-gen to generate a personalized kiosk mode image. I had to downgrade to chromium-common=135.0.7049.95-1~deb12u1 and chromium=135.0.7049.95-1~deb12u1. This is the last working version.

dervomsee avatar Sep 15 '25 07:09 dervomsee

workaround if you have access to the displayed page/webserver, add this to the header

  <head>
    <meta name="google" content="notranslate">
    ....

CvH avatar Sep 16 '25 09:09 CvH

For me setting the --disable-features=Translate flag in /opt/custompios/scripts/start_chromium_browser worked for disabeling the popup.

miT-nib-hcI avatar Nov 18 '25 12:11 miT-nib-hcI

For me setting the --disable-features=Translate flag in /opt/custompios/scripts/start_chromium_browser worked for disabeling the popup.

This only worked for me after using the version from the RPI image. After sudo apt dist-upgrade the translate bar appears again.

Fix

I changed my Localisation Options via sudo raspi-config to the same language as the kiosk webpage.

leukipp avatar Nov 22 '25 18:11 leukipp