-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable auto translate in Brave Translate #27040
Comments
The above requires @brave/qa-team can follow the STR/Cases outlined via brave/brave-variations#479 (comment) & brave/brave-variations#479 (comment) but use the flag mentioned via brave/brave-core#16185 (comment) rather than using Griffin |
Verified with
Per #27040 (comment), verifying cases from brave/brave-variations#479 (comment) using flag mentioned in brave/brave-core#16185 (comment). Note - tested with staging env for Brave Translate due to production server side problems. See https://bravesoftware.slack.com/archives/C03MMJ4CHEZ/p1670421276597499 for additional context.
|
Example |
Example |
Example |
Example |
Example |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
Test Case #2
- AutoTranslateDisabled
once Always translate
selected once it appears automatically in the button
- launched
1.46.138 Chromium: 108.0.5359.94
using--args --enable-logging=stderr --translate-security-origin=https://translate.bravesoftware.com/ --translate-script-url=https://translate.bravesoftware.com/static/v1/element.js
- visited
https://fr.wikipedia.org/wiki
and ensured that theBrave Translate
icon appears within the URL - ensured that
Always Translate French
was being listed via the context menu under theBrave Translate
button - visit several sites within
https://fr.wikipedia.org/wiki
until you seeAlways translate French
under the targeted translations - enable/select
Always translate French
once it appears under the targeted translations - closed/re-launched using
--args --enable-logging=stderr --translate-security-origin=https://translate.bravesoftware.com/ --translate-script-url=https://translate.bravesoftware.com/static/v1/element.js --disable-features=BraveEnableAutoTranslate
- Note:
BraveAutoTranslateStudy:AutoTranslateDisabled
is not displayed viabrave://version
as the griffin study is not rolled out to Release yet, and I used the command line flag to disable this - ensured that
https://fr.wikipedia.org/wiki
isn't being automatically translated anymore asAlways Translate
was disabled - ensured that you can still manual translate the page by switching between
French
&English
- ensured that
Choose another language
,Never translate
,Never translate this site
&Page is not in French
are working
Example |
Example |
Example |
Example |
Example |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
Test Case #3
- Clean Install/Profile
- launched
1.46.138 Chromium: 108.0.5359.94
using--args --enable-logging=stderr --translate-security-origin=https://translate.bravesoftware.com/ --translate-script-url=https://translate.bravesoftware.com/static/v1/element.js --disable-features=BraveEnableAutoTranslate
- closed/re-launched using
--args --enable-logging=stderr --translate-security-origin=https://translate.bravesoftware.com/ --translate-script-url=https://translate.bravesoftware.com/static/v1/element.js --disable-features=BraveEnableAutoTranslate
- Note:
BraveAutoTranslateStudy:AutoTranslateDisabled
is not displayed viabrave://version
as the griffin study is not rolled out to Release yet, and I used the command line flag to disable this - visit
https://fr.wikipedia.org/wiki
and ensure that theBrave Translate
is triggered and a translation is offered - ensure that
Always Translate
isn't visible/available via the context menu - ensured that
Always translate French
never appears under the targeted translation after visiting/translating several websites - ensured that you can still manual translate the page by switching between
French
&English
- ensured that
Choose another language
,Never translate
,Never translate this site
&Page is not in French
are working
Example |
Example |
Example |
---|---|---|
![]() |
![]() |
![]() |
Probably should exclude this from the notes as this will be enabled a bit after the release. @LaurenWags @rebron please re-add if you feel differently. |
Verification passed on Oppo Reno 5 with Android 12 running 1.46.138 x64 build Test Case 1: Auto Translate Disabled via flag
Test Case 2: Page Auto-Translate checked and then disabled via flag
|
Description
Temporarily disable auto translate in Brave Translate by hiding the ui checkbox and menu option as well as disabling the setting for those who have previously checked the setting to on.
Place auto translate feature behind a flag that where rollout of the feature can be controlled via griffin.
Expected result:
Current result:
Desktop Brave version:
Targeted for 1.46.x
Android Device details:
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: