Lockwise UI is not translated in Japanese on Mac
Categories
(Core :: Internationalization, defect, P1)
Tracking
()
People
(Reporter: glandium, Assigned: zbraniecki)
References
Details
(Whiteboard: [passwords:management])
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
When opening the Lockwise UI on Mac in a Japanese build, via burger menu -> Login and Passwords, the UI is all in English. That's not the case on Windows and Linux, most probably due to the fact that Japanese for Mac is a separate locale.
The historic distinction between the two Japanese locales is hurting. It feels like new strings translated in one should automatically end up in the other.
OTOH, I also wonder, at this point, how different they actually are, and if keeping those differences still make sense at all.
Comment 1•4 years ago
•
|
||
You didn't specify in which version you're seeing this, but I guess it's in any version of Firefox (I see it in Nightly).
This is not a bug that the Japanese team can solve, it's a bug in the code for the Lockwise team to fix.
The historic distinction between the two Japanese locales is hurting. It feels like new strings translated in one should automatically end up in the other.
OTOH, I also wonder, at this point, how different they actually are, and if keeping those differences still make sense at all.
While I'd be the first to rejoice if we can get rid of the two locales, they're very different.
https://github.com/mozilla-japan/gecko-l10n
Fluent has the potential of serving both, but we're far from being able to use it at this point.
Comment 2•4 years ago
|
||
[Tracking Requested - why for this release]: about:logins is untranslated on macOS for Japanese users.
Comment 3•4 years ago
|
||
I've tested this on a ja-JP-mac nightly build.
I could also reproduce this with about:welcome and about:home, so this isn't anything about:logins specific. Thus moving to Intl.
One thing I noticed is that about:preferences works, and shows ja-JP-macos
as lang attribute, while the pages that don't work show ja-JP-mac
.
My suspicion is that this is something about the l10n registry in parent vs child process.
Zibi, do you have an idea?
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
So, this is fortunately fairly easy, but what we really should do at this point is basically move all callsites to use BCP47 leaving three places to use LangTags:
- Chrome Registry protocol for loading DTD/properties
- L10nRegistry for loading resource:// for Fluent
- Addons Manager for loading resource:// for langpack/fluent
This could be as simple as "LocaleService::ConvertToMozillaLocalePath" which would only convert ja-JP-macos
to ja-JP-mac
.
Assignee | ||
Comment 6•4 years ago
|
||
I filed bug 1609585 to migrate as much as possible to BCP47. Also, bug 1609585 will simplify the langtags vs bcp47 further.
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/26a5aa048258 Use BCP47 lang tags for negotiation in content process. r=jfkthame
Comment 8•4 years ago
|
||
bugherder |
Comment 9•4 years ago
|
||
Please nominate this for Beta approval when you get a chance.
Assignee | ||
Comment 10•4 years ago
|
||
Comment on attachment 9121202 [details]
Bug 1607111 - Use BCP47 lang tags for negotiation in content process.
Beta/Release Uplift Approval Request
- User impact if declined: ja-JP-mac will have content process pages localized in en-US
- Is this code covered by automated tests?: Unknown
- Has the fix been verified in Nightly?: Yes
- 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): it's a simple single line change that affects only ja-JP-mac and was verified to work in Nightly.
- String changes made/needed: None
Comment 11•4 years ago
|
||
Comment on attachment 9121202 [details]
Bug 1607111 - Use BCP47 lang tags for negotiation in content process.
Fixes Japanese localization of about:logins on macOS. Approved for 73.0b8.
Comment 12•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Description
•