Closed Bug 802071 Opened 12 years ago Closed 12 years ago

[l10n] Sometimes, l10n does not get loaded properly

Categories

(Firefox OS Graveyard :: Gaia, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+, firefox19 fixed, b2g18 fixed)

VERIFIED FIXED
PreProduction
blocking-basecamp +
Tracking Status
firefox19 --- fixed
b2g18 --- fixed

People

(Reporter: gerard-majax, Assigned: vingtetun)

References

Details

Attachments

(1 file, 1 obsolete file)

When the system app starts, in its early days, it sometimes seems not being able to find the correct navigator.language value. Hence it defaults to 'en-US' while the rest of the system will be correctly localized. This has been hit on both Nexus S and Otoro. This patch mitigates the issue by forcing re-reading the 'language.current' settings and when receiveing the value, relocalizing the document.
blocking-basecamp: --- → ?
This was github issue https://github.com/mozilla-b2g/gaia/pull/5071
Loading in the wrong locale is functionally broken -> Blocking.
blocking-basecamp: ? → +
Priority: -- → P1
Comment on attachment 671774 [details] [diff] [review]
Tentative patch to circumvent the issue.

Fabien can you review it?
Attachment #671774 - Flags: review?(kaze)
Assignee: nobody → lissyx+mozillians
Attached patch PatchSplinter Review
Alexandre this patch would start Gaia only once the the 2 values has been synced. I'm stealing the bug but feel free to comment!

NOTE: If blocking-basecamp+ is set, just land it for now.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): 
User impact if declined: 
Testing completed: 
Risk to taking this patch (and alternatives if risky):
Attachment #671774 - Attachment is obsolete: true
Attachment #671774 - Flags: review?(kaze)
Attachment #674629 - Flags: approval-gaia-master?
Attachment #674629 - Flags: approval-gaia-master? → review?(kaze)
Assignee: lissyx+mozillians → 21
Attachment #674629 - Flags: review?(kaze) → review+
Priority: P1 → --
Priority: -- → P1
https://hg.mozilla.org/integration/mozilla-inbound/rev/5c351ccde036
Status: NEW → ASSIGNED
Whiteboard: [checking-needed-aurora]
Target Milestone: --- → PreProduction
https://hg.mozilla.org/mozilla-central/rev/5c351ccde036
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Keywords: checkin-needed
Whiteboard: [checking-needed-aurora]
Part of this made it on to b2g18 somewhere along the way, but it still partially applied.

https://hg.mozilla.org/releases/mozilla-b2g18/rev/10e2a5bad86f
Device: unagi
Build: 20130112070202
Does not reproduce at this time.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: