Closed
Bug 1155099
Opened 9 years ago
Closed 9 years ago
[l12y][FM Radio]All locales: The words "MHz" on the main radio view is not localizable
Categories
(Firefox OS Graveyard :: Gaia::FMRadio, defect, P2)
Tracking
(blocking-b2g:2.5+, b2g-v2.1 affected, b2g-v2.2 affected, b2g-v2.5 affected, b2g-master affected)
People
(Reporter: lulu.tian, Assigned: hub)
Details
(Keywords: l12y, Whiteboard: LocRun2.2, [priority])
Attachments
(3 files)
[1.Description]: [l12y][v2.1 & v2.2][FM Radio]Arabic: The words "MHz" on the main radio view is not translated in both Arabic language and Mirrored English language. See attachment:MHz.png [2.Testing Steps]: Prerequisite: Set system language as Arabic and insert a headset. 1. Tap on the "FM Radio" icon to open the FM Radio app. 2. Look at "MHz" on the main radio view. 3. Launch Settings -> Developer -> Enable Pseudo-localization. 4. Change system language as "Mirrored English". 5, Launch FM Radio again and observe the "MHz" on the main radio view. [3.Expected Result]: 2&5. "MHz" is translated properly without truncation. [4.Actual Result]: 2&5. "MHz" is not translated. [5.Reproduction build]: Device: Flame 2.1 (affected) Build ID 20150415161202 Gaia Revision bbe983b4e8bebfec26b3726b79568a22d667223c Gaia Date 2015-04-09 13:52:48 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/c54aa1be51d6 Gecko Version 34.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150415.193716 Firmware Date Wed Apr 15 19:37:27 EDT 2015 Bootloader L1TC000118D0 Device: Flame 2.2 (affected) Build ID 20150415162504 Gaia Revision 89a94a8b9c9087da916751697a61ba15bc0688c3 Gaia Date 2015-04-15 20:05:38 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/20e92b626530 Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150415.195419 Firmware Date Wed Apr 15 19:54:30 EDT 2015 Bootloader L1TC000118D0 [6.Reproduction Frequency]: Always Recurrence,5/5 [7.TCID]: 12237
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → affected
Comment 1•9 years ago
|
||
[Blocking Requested - why for this release]: Hi - the issue here is actually a localizability issue that affects all locales, not just Arabic. Changing title to reflect this. After doing some research within l10n team, Stas pointed out that MHz in Russian could be localized as МГц. This means this probably happens with other locales as well. I don't want us to block on this for 2.2 at this point since it's been like this in previous versions, but would like this to get in 3.0 thanks!
blocking-b2g: --- → 3.0?
Summary: [l12y][FM Radio]Arabic: The words "MHz" on the main radio view is not translated. → [l12y][FM Radio]All locales: The words "MHz" on the main radio view is not localizable
Comment 2•9 years ago
|
||
Hi Delphine, This issue can be reproduced on latest flame 2.1&2.2&3.0 user build in all locales, the "MHz" in FMRadio cannot be translated into corresponding language, could you help with this issue? Thank you very much! See attachment:Verify1_Flame2.1&2.2&3.0_all locales_Affected.png Reproducing rate:10/10 Device: Flame 2.1 user build (Affected) Build ID 20150517001201 Gaia Revision c80865cb0bf73f1b97defbc646083b404feb3ac4 Gaia Date 2015-05-12 06:26:43 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/86182f8fc3f1 Gecko Version 34.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150517.040359 Firmware Date Sun May 17 04:04:09 EDT 2015 Bootloader L1TC000118D0 Device: Flame 2.2 user build (Affected) Build ID 20150517002501 Gaia Revision b388a235e89dab76c24323767cd87ebd7c4c8b17 Gaia Date 2015-05-15 16:08:41 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/54ae7c7182bc Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150517.041351 Firmware Date Sun May 17 04:14:01 EDT 2015 Bootloader L1TC000118D0 Device: Flame 3.0 user build (Affected) Build ID 20150517010201 Gaia Revision 4c0f36e9dfe017bf2a698d416a57c8156b43383d Gaia Date 2015-05-15 22:18:51 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/2f6ea66057fe Gecko Version 41.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150517.043733 Firmware Date Sun May 17 04:37:43 EDT 2015 Bootloader L1TC000118D0
Updated•9 years ago
|
QA Whiteboard: [MGSEI-Triage+]
Flags: needinfo?(lebedel.delphine)
Comment 3•9 years ago
|
||
Hema: are devs looking at all at these kinds of issues for 3.0 - or is v3 still uncertain enough that we should not be filing these kinds of issues? thanks
Flags: needinfo?(lebedel.delphine) → needinfo?(hkoka)
Comment 4•9 years ago
|
||
[Blocking Requested - why for this release]: (In reply to Delphine Lebédel [:delphine - at l10n workweek until May 15 , slow to respond] from comment #3) > Hema: are devs looking at all at these kinds of issues for 3.0 - or is v3 > still uncertain enough that we should not be filing these kinds of issues? > thanks Please file these kind of issues. This is probably something that has been like this since the beginning. Justin, when you get a chance fix this (Spark is higher priority though). Thanks Hema
Flags: needinfo?(hkoka) → needinfo?(jdarcangelo)
Whiteboard: LocRun2.2, MGSEI-l10n-1F-Arabic → LocRun2.2, MGSEI-l10n-1F-Arabic [priority]
Updated•9 years ago
|
status-b2g-master:
--- → affected
Updated•9 years ago
|
QA Whiteboard: [MGSEI-Triage+] → [MGSEI-Triage+][MGSEI-l10n-1F]
Whiteboard: LocRun2.2, MGSEI-l10n-1F-Arabic [priority] → LocRun2.2, [priority]
Comment 6•9 years ago
|
||
We're not focusing on making everything localizable within Spark, so I would say that this definitely shouldn't be a spark+ blocker. Thanks for bringing it to my attention, anyways.
Flags: needinfo?(drs)
Comment 7•9 years ago
|
||
Can we consider to nominate this for 3.0 - in the case that this is still relevant in the upcoming release that we still don't know much about? thanks
Updated•9 years ago
|
blocking-b2g: 3.0? → 3.0+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → hub
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•9 years ago
|
||
"MHz" is added by the CSS. See #frequency::after div#fav-list-container div.fav-list-frequency::after in fm.css
Updated•9 years ago
|
Priority: -- → P2
Comment 9•9 years ago
|
||
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8656648 [details] [review] [gaia] hfiguiere:bug1155099-fm-mhz-l10n > mozilla-b2g:master Tim, you are still listed a module owner for FM Radio. Let me know if there is a better person to do review. Gandalf, I'm new to the l20n stuff. If you have feedback on this corner case of localization, let me know. Thanks,
Flags: needinfo?(jdarcangelo)
Attachment #8656648 -
Flags: review?(timdream)
Attachment #8656648 -
Flags: feedback?(gandalf)
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8656648 [details] [review] [gaia] hfiguiere:bug1155099-fm-mhz-l10n > mozilla-b2g:master Justin volunteered for the review.
Attachment #8656648 -
Flags: review?(timdream) → review?(jdarcangelo)
Comment 12•9 years ago
|
||
Comment on attachment 8656648 [details] [review] [gaia] hfiguiere:bug1155099-fm-mhz-l10n > mozilla-b2g:master LGTM. Thanks for addressing the re-localization case!
Attachment #8656648 -
Flags: review?(jdarcangelo) → review+
Assignee | ||
Comment 13•9 years ago
|
||
Merged https://github.com/mozilla-b2g/gaia/commit/4bdc89cce08da73c1ed1a8ee0f66ef8286523865
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S6 (04Sep)
Comment 14•9 years ago
|
||
Comment on attachment 8656648 [details] [review] [gaia] hfiguiere:bug1155099-fm-mhz-l10n > mozilla-b2g:master Thanks for getting me in the loop! I was on PTO last week, so I'm glad you didn't wait and I believe that in such cases post-landing f/r make a lot of sense! The patch looks good. I asked two questions in the PR because it seems to me that you should be able to just initialize the string "Mhz" inside the DOMLocalized callback and set the values there. But nothing blocking :)
Attachment #8656648 -
Flags: feedback?(gandalf) → feedback+
Comment 15•9 years ago
|
||
Feel free to ni either me or Zibi on such requests. I think there's might be a simpler way to handle this using L20n attributes. Would you be interested in taking a new patch?
Comment 16•9 years ago
|
||
FYI, we removed format() and replaced it with formatValue(). I updated the code in FM to make it work with this change: https://github.com/mozilla-b2g/gaia/commit/47459eead04385e22f967012b824f5abdddcfb7c
Assignee | ||
Comment 17•9 years ago
|
||
But you no longer set the variable mhzString, which mean that it breaks when creation of a new "bookmark"
Flags: needinfo?(stas)
Comment 18•9 years ago
|
||
The value of mhzString is given as the first argument of the callback function, isn't it?
Flags: needinfo?(stas)
Comment 19•9 years ago
|
||
The breaking change has been reverted, I'm sorry for the trouble and skipping the review! I'll file a new bug to fix this the right way. :hub thanks for catching this so fast.
Comment 20•9 years ago
|
||
Hi Staś, Just a soft reminder, is there any update on this issue. The words "MHz" on the main radio view is still not localizable on latest build of flamekk2.5 and master. Device: Flamekk v2.5 512mb build [Affected] Build ID 20151130173516 Device: Flamekk master 512mb build [Affected] Build ID 20151130173516
status-b2g-v2.5:
--- → affected
Flags: needinfo?(stas)
Comment 21•9 years ago
|
||
Alissa -- bug 1203509 should have fixed it. What are the symptoms that you're seeing?
Flags: needinfo?(stas)
You need to log in
before you can comment on or make changes to this bug.
Description
•