Allow for Fluent files that are not ready for localization
Categories
(Core :: Internationalization, defect, P1)
Tracking
()
People
(Reporter: Pike, Assigned: Pike)
References
Details
(Whiteboard: [rca - Design Error])
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-release+
RyanVM
:
approval-mozilla-esr68+
|
Details | Review |
Our current approach for packaging Fluent that's not ready for l10n doesn't work.
What we did was packaging the pre-release files in the same /localization
path as we will in prod.
At repack time, that breaks all kinds of things once you actually have them in localizations, as we see in bugs 1568438, 1569807.
I'm still counting on how many streams we cross, filing this in Intl right now, but I might also move this.
Here's what we need to keep from the current behavior:
- The ftl files from content are packages for all locales, as if they were localized. That's a workaround for bug 1464156.
- We can change the contents in content ftl files freely, w/out having to care about IDs.
I read the latter to mean that we can't use the localized fluent file as a drop-in replacement for a content one, in a cross-channel world. The IDs we have on l10n-central might overlap with different content-content.
Thus, we should have distinct path locations for these files. I propose that we should have use preview/aboutLogins.ftl
instead of browser/aboutLogins.ftl
.
Now, there's an interesting question around packaging. We can continue to do what we do now, and package the files a few times. Or we could package them once in a known location in omni.ja, and add to browser/l10n-registry.manifest
a line like
category l10n-registry 0-preview resource://app/fluent-content/
(and move toolkit to 2).
Given that this would be the last location to look at in regular builds, I don't think this should come with perf problems. Maybe as a follow-up?
Assignee | ||
Comment 1•5 years ago
|
||
[Tracking Requested - why for this release]:
Requesting tracking for 69 and 68 esr, 'cause this is required to take string updates, see bug 1569807.
Pushed something to try, let's see how that goes: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7817d73d6fdc68430e82de794a7adeec1a3b7f20. That patch won't apply to beta or esr at all, but the concept of it should.
Assignee | ||
Comment 2•5 years ago
|
||
Having these files in their final packaged locations creates problems when
we expose them to localizations.
Comment 3•5 years ago
|
||
Bugbug thinks this bug is a enhancement, but please change it back in case of error.
Assignee | ||
Comment 4•5 years ago
|
||
This is the beta variation of D39872.
Assignee | ||
Comment 5•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ddb0015f0bede2e6b777cf24177971a91eb1ef46 is trying beta repacks now.
The same patch mostly applies to 68 and 68esr, aside from chunk to browser/components/aboutlogins/AboutLoginsParent.jsm
, which isn't needed.
Assignee | ||
Comment 6•5 years ago
|
||
This is green on beta for linux and windows. There's an unrelated bustage on macos, as that's mismatching Firefox Nightly.app
and Firefox.app
, that's unrelated to this bug.
Assignee | ||
Comment 7•5 years ago
|
||
Comment on attachment 9081606 [details]
Bug 1569892, move in-progress fluent files to preview locations, r=jaws
Beta/Release Uplift Approval Request
- User impact if declined: We can't take updates to l10n on beta
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This succeeded on try, and has feedback from releng, l10n, and firefox engineering.
- String changes made/needed: None
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
Comment on attachment 9081606 [details]
Bug 1569892, move in-progress fluent files to preview locations, r=jaws
Beta/Release Uplift Approval Request
- User impact if declined: We can't take string updates for 68/esr68.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky):
- String changes made/needed:
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: We can't take string updates for 68/esr68, which we want for a ESR bug.
- User impact if declined: We can't take string updates for 68/esr68.
- Fix Landed on Version:
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky):
- String or UUID changes made by this patch:
Comment 10•5 years ago
|
||
bugherder |
Comment 11•5 years ago
|
||
Comment on attachment 9081606 [details]
Bug 1569892, move in-progress fluent files to preview locations, r=jaws
Un-breaks Beta l10n repacks. Approved for 69.0b10.
Comment 12•5 years ago
|
||
bugherder uplift |
Comment 13•5 years ago
|
||
Comment on attachment 9081606 [details]
Bug 1569892, move in-progress fluent files to preview locations, r=jaws
Today's b10 build went great with this patch. Approving for 68.0.2/68.0.2esr as well.
Comment 14•5 years ago
|
||
bugherder uplift |
Comment 15•5 years ago
|
||
bugherder uplift |
Comment 16•5 years ago
•
|
||
bugherder uplift |
FIREFOX_ESR_68_0_X_RELBRANCH https://hg.mozilla.org/releases/mozilla-esr68/rev/63214909da19
Comment 17•5 years ago
|
||
This bug has been identified as part of a pilot on determining root causes of blocking and dot release drivers.
It needs a root-cause set for it. Please see the list at https://docs.google.com/document/d/1FFEGsmoU8T0N8R9kk-MXWptOPtXXXRRIe4vQo3_HgMw/.
Add the root cause as a whiteboard
tag in the form [rca - <cause> ]
and remove the rca-needed
keyword.
If you have questions, please contact :tmaity.
Comment 18•5 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1569892#c0 is description.
Comment 19•5 years ago
|
||
Please specify a root cause for this bug. See :tmaity for more information.
Updated•4 years ago
|
Description
•