Closed
Bug 865551
Opened 11 years ago
Closed 11 years ago
[Contacts] After switching language, phone/email/address labels won't be localized correctly
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(blocking-b2g:tef+, b2g18 verified, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 verified)
People
(Reporter: rudyl, Assigned: rudyl)
References
Details
+++ This bug was initially created as a clone of Bug #854814 +++ == STR == 1. Choose English as the current language 2. Enter Contact APP, create a new contact, the labels for phone/email/ address are all displayed in English. 3. Press Home button and enter Settings again, choose Chinese as the current language 4. Enter Contact APP again, check the language for phone/email/address labels Expected result: After switch the language, the labels for phone/email/address should be displayed in current language (Chinese). Actual result: The labels are still in previous language (English). Click the label to see the label list, the label list are also in previous language (English). *** For triage *** Nominate as blocking: tef?, since a similar issue - Bug 860634 was marked as tef+. Thanks.
Updated•11 years ago
|
blocking-b2g: tef? → tef+
Target Milestone: --- → 1.0.1 IOT1 (10may)
Assignee | ||
Comment 2•11 years ago
|
||
Fixed in Gaia master: https://github.com/mozilla-b2g/gaia/commit/b23c5dbe6e6b53ba802fbb714667fc13e32f666c v1-train: e26eadbc598bd09c80192016c1024a4a999a5361 v1.0.1: cf2d4136f0ebc66039637fdbeb72ed184dfbc0f2
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•11 years ago
|
||
Hi Kaze, Please be informed for this issue, we introduced some changes to have "data-l10n-id="#type_l10n_id#", where #type_l10n_id# is a template holder and will be replaced by some real value by JS code. Please see an example here, https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/contacts/index.html#L150 This may cause some warning messages when building Gaia, and I am thinking how to avoid this. Maybe we can add some attribute to the element like "data-l10n-ignore=true" to this kind of template HTML? I will prepare a patch if you think this is OK. Thank you.
Flags: needinfo?(kaze)
Verified and fixed on Inari.Changing the UI language reflects the Contact labels in the contact App. Inari Build id:20130429070204 Environmental Variables: Kernel Date: Feb 21 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/45aa5ba0ed53 Gaia: cf2d4136f0ebc66039637fdbeb72ed184dfbc0f2 Verified and fixed on Leo.Changing the UI language reflects the Contact labels in the contact App. Environmental Variables: Leo Build ID: 20130426070204 Kernel Date: Mar 15 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/6c2493de1441 Gaia: c9046a7acef33328977840176ff5574720d2c74c
Comment 5•11 years ago
|
||
(In reply to Rudy Lu [:rudyl] from comment #3) > This may cause some warning messages when building Gaia, and I am thinking > how to avoid this. Oh, this is where these warnings came from. Good to know!
Flags: needinfo?(kaze)
You need to log in
before you can comment on or make changes to this bug.
Description
•