Closed Bug 1831963 Opened 2 years ago Closed 2 years ago

Enable the translations pref for Nightly

Categories

(Firefox :: Translations, task, P2)

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
relnote-firefox --- 118+
firefox115 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

References

Details

Attachments

(9 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

Once the UX feedback in Bug 1820247 I'm going to see about enabling this by default in Nightly.

:flod is it ok to have the ftl files still in locales preview to do this?

Flags: needinfo?(francesco.lodolo)

(In reply to Greg Tatum [:gregtatum] from comment #1)

:flod is it ok to have the ftl files still in locales preview to do this?

I would really prefer to have the strings exposed first, or very close. What's the timeline on that?

Flags: needinfo?(francesco.lodolo)
Assignee: nobody → gtatum
Status: NEW → ASSIGNED
Attachment #9334869 - Attachment description: WIP: Bug 1831963 - Enable the translations feature in Nightly and Early Beta; r?nordzilla! → Bug 1831963 - Enable the translations feature in Nightly and Early Beta; r?nordzilla!

I was getting a weird intermittent locally, and I believe this was the
cause.

If anyone is following along, turning things on by default caused a few tests to fail on try.

Blocks: 1831964
Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/260c6f5b72e6 Enable the translations feature in Nightly and Early Beta; r=marco,nordzilla https://hg.mozilla.org/integration/autoland/rev/b691f7c48bf9 Add Translations modules to known list of content process scripts; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/ab6c15a5c8fb Remove duplicate ids in translations code; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/ced39405b51e Ensure new TranslationParent actors are created for each test; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/e2653450faa8 Use a lazy pref getter for translations chaos mode; r=nordzilla

I found a CI bug that I overlooked in the intermittents, so this will probably fail:

browser/base/content/test/performance/browser_preferences_usage.js | browser.translations.logLevel should not be accessed more than 40 times. - 100 <= 40 -

This is another raw preference read, and rather than rewrite it, we were
wanting to get rid of this anyway.

Depends on D179274

Flags: needinfo?(gtatum)

Release Note Request (optional, but appreciated)
[Why is this notable]: New cool feature
[Affects Firefox for Android]: Not yet
[Suggested wording]: Local translation - improvement welcome :)
[Links (documentation, blog post, etc)]:

relnote-firefox: --- → ?

This fixes errors surfaced in:

browser/components/tests/marionette/test_no_errors_clean_profile.py

Visually and functionally the buttons work fine, but it generates a
warning that is caught by this test.

Depends on D179275

Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/baaaaff4b660 Enable the translations feature in Nightly and Early Beta; r=marco,nordzilla https://hg.mozilla.org/integration/autoland/rev/c4811197740c Add Translations modules to known list of content process scripts; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/493c07c8a519 Remove duplicate ids in translations code; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/f730091705fd Ensure new TranslationParent actors are created for each test; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/522ef5669a6b Use a lazy pref getter for translations chaos mode; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/5b15a7632c91 Use a lazy pref getter for the log level in translations; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/44cd611f57ce Remove the bypassSignatureVerificationIfDev check; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/2b8bba99a0df Change Fluent button messages to use the label; r=nordzilla,fluent-reviewers,flod
Flags: needinfo?(gtatum)

Backed out for causing mochitests failures in browser_preferences_usage.js.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_preferences_usage.js | browser.translations.logLevel should not be accessed more than 40 times. - 50 <= 40 - {"filename":"chrome://mochitests/content/browser/browser/base/content/test/performance/browser_preferences_usage.js","name":"checkPrefGetters","sourceId":584,"lineNumber":42,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chr
Flags: needinfo?(gtatum)
Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8b04d1071d52 Enable the translations feature in Nightly and Early Beta; r=marco,nordzilla https://hg.mozilla.org/integration/autoland/rev/4345e2c1dfce Add Translations modules to known list of content process scripts; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/8931a4032409 Remove duplicate ids in translations code; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/cf320e1acdcf Ensure new TranslationParent actors are created for each test; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/fb0d1c351634 Use a lazy pref getter for translations chaos mode; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/d097f1b2494b Use a lazy pref getter for the log level in translations; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/20c5ff6af30a Remove the bypassSignatureVerificationIfDev check; r=nordzilla https://hg.mozilla.org/integration/autoland/rev/930913e9cca6 Change Fluent button messages to use the label; r=nordzilla,fluent-reviewers,flod https://hg.mozilla.org/integration/autoland/rev/7e0621d3a953 Add "browser.translations.logLevel" to the allow list on browser_preferences_usage.js; r=nordzilla
Regressions: 1835831

(In reply to Sylvestre Ledru [:Sylvestre] from comment #14)

Release Note Request (optional, but appreciated)
[Why is this notable]: New cool feature
[Affects Firefox for Android]: Not yet
[Suggested wording]: Local translation - improvement welcome :)
[Links (documentation, blog post, etc)]:

Added to the nightly release notes

Regressions: 1835822
Regressions: 1836204
Regressions: 1836183
Regressions: 1836503
Depends on: 1836527
No longer depends on: 1836527
Regressions: 1836527
Flags: needinfo?(gtatum)

This is riding the Fx117 trains via bug 1820261. Updating the relnote accordingly.

Removed from the 117 release notes, keeping on the radar for 118

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

Attachment

General

Created:
Updated:
Size: