Closed
Bug 955805
Opened 12 years ago
Closed 12 years ago
Normalize locale codes appropriately for each subsystem
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox28 fixed)
RESOLVED
FIXED
Firefox 29
Tracking | Status | |
---|---|---|
firefox28 | --- | fixed |
People
(Reporter: rnewman, Assigned: rnewman)
References
Details
Attachments
(1 file)
6.06 KB,
patch
|
mfinkle
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Java uses foo_BAR as its locale codes, and that's what we submit via FHR, because we're pulling them from the Android environment.
Gecko requires foo-BAR.
The current implementation goes via a Java Locale object, and thus these get mixed, to unfortunate effect. We only clean up in one direction.
Cleaning this up is a prerequisite for Bug 945122, and also to having UI for this feature.
Assignee | ||
Comment 1•12 years ago
|
||
Verified behavior with es-ES. Not sure where the regression crept in.
This also makes Indonesian work, regardless of which code we send in from the selector ("id" or "in").
Tested by adding "id" to maemo-locales and clobbering.
The Indonesian locale doesn't seem to be complete, but it's complete enough for this:
http://www.youtube.com/watch?v=4nFPz418INY
Attachment #8354970 -
Flags: review?(mark.finkle)
Assignee | ||
Updated•12 years ago
|
Attachment #8354970 -
Flags: feedback?(jbeatty)
Updated•12 years ago
|
Attachment #8354970 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 2•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/c055952d2078
needinfo on me for uplift if Nightly remains cheerful.
Flags: needinfo?(rnewman)
Target Milestone: --- → Firefox 29
Comment 3•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 4•12 years ago
|
||
Comment on attachment 8354970 [details] [diff] [review]
Normalize locale codes appropriately for each subsystem.
I can't seem to verify this on my tablet. Looking in mozilla-central, I don't see Indonesian added to maemo-locales. If that was backed out before I could get to it, that's fine, but it seems like rnewman was able to verify the fix regardless.
Flags: needinfo?(rnewman)
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Jeff Beatty [:gueroJeff] from comment #4)
> I can't seem to verify this on my tablet. Looking in mozilla-central, I
> don't see Indonesian added to maemo-locales. If that was backed out before I
> could get to it, that's fine, but it seems like rnewman was able to verify
> the fix regardless.
It never landed -- I made local changes to test. (I figure there's a lot more needs to be done before Indonesian is turned on, and it's not my call to make!)
Assignee | ||
Comment 6•12 years ago
|
||
Comment on attachment 8354970 [details] [diff] [review]
Normalize locale codes appropriately for each subsystem.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
Getting things ready for Indonesian.
User impact if declined:
No shipping Indonesian in 28 (and users of the locale-switcher add-on will have breakage for foo-BAR locales).
Testing completed (on m-c, etc.):
Tested by hand and no regressions in m-c.
Risk to taking this patch (and alternatives if risky):
Should be none. This is only mutating the recently-landed locale switching code.
String or IDL/UUID changes made by this patch:
None.
Attachment #8354970 -
Flags: feedback?(jbeatty) → approval-mozilla-aurora?
Comment 7•12 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #5)
> (In reply to Jeff Beatty [:gueroJeff] from comment #4)
>
> > I can't seem to verify this on my tablet. Looking in mozilla-central, I
> > don't see Indonesian added to maemo-locales. If that was backed out before I
> > could get to it, that's fine, but it seems like rnewman was able to verify
> > the fix regardless.
>
> It never landed -- I made local changes to test. (I figure there's a lot
> more needs to be done before Indonesian is turned on, and it's not my call
> to make!)
Good to know :-) Thanks for all of your input and work!
Updated•12 years ago
|
Blocks: fm-l10n-id
Updated•12 years ago
|
Attachment #8354970 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 8•12 years ago
|
||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•