Bug 2209275 - Chromium doesn't support web page translation
Summary: Chromium doesn't support web page translation
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: chromium
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL: https://www.1point3acres.com/bbs/
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-23 10:08 UTC by prasun.gera
Modified: 2023-07-17 18:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-14 10:46:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description prasun.gera 2023-05-23 10:08:53 UTC
Fedora's build of chromium does not support web page translation via google's cloud translation API. I recall that there were changes around usage of google's APIs that disabled certain features in the default distribution. However, I am using my own developer API keys in .bash_profile by way of exporting GOOGLE_API_KEY, GOOGLE_DEFAULT_CLIENT_ID, and GOOGLE_DEFAULT_CLIENT_SECRET. This seems to work partially, and it shows options for cloud sync and safe browsing in chromium. Translation features do not work though. Ubuntu's snap version of chromium supports translation and it picks up the keys from the exported env variables. I confirmed this by installing the snap. So perhaps there is some build config difference ?

Reproducible: Always

Steps to Reproduce:
1. Visit https://www.1point3acres.com/bbs/
2. Expectation: Tooltip in the address bar that offers to translate the page
3. Chrome as well as Canonical's snap build of chromium show this when the API keys are exported. Fedora's rpm build does not.

Comment 1 Than Ngo 2023-07-14 10:46:07 UTC
I cannot reproduce this issue with latest chromium-114.0.5735.198. Please update to new version.

Comment 2 prasun.gera 2023-07-14 14:50:10 UTC
I am still able to reproduce it on current version. How did you verify that it works ? Do you have a sample website to check ?

Comment 3 prasun.gera 2023-07-14 15:00:30 UTC
Here's another website that I just tried: https://www.ledevoir.com/ . I see the tooltip in chrome but not in chromium.


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