Closed
Bug 1074166
Opened 10 years ago
Closed 10 years ago
[2.1] Device specific strings like "Reset phone" are not localized on pvt builds
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(blocking-b2g:2.1+, b2g-v2.0 unaffected, b2g-v2.1 verified, b2g-v2.2 unaffected)
Tracking | Status | |
---|---|---|
b2g-v2.0 | --- | unaffected |
b2g-v2.1 | --- | verified |
b2g-v2.2 | --- | unaffected |
People
(Reporter: jlorenzo, Assigned: chens)
References
Details
(Keywords: regression)
Attachments
(2 files)
46 bytes,
text/x-github-pull-request
|
rickychien
:
review+
zbraniecki
:
feedback+
fabrice
:
approval-gaia-v2.1+
|
Details | Review |
46 bytes,
text/x-github-pull-request
|
rickychien
:
review+
bajaj
:
approval-gaia-v2.1+
|
Details | Review |
Build info Tested against today's 2.1. Prerequisite Have the phone in another language (tested with French or Spanish) STR 1. Go to settings -> Information 2. Scroll at the bottom of the page Actual result The button shows "Reset phone" Expected The button should show "Réinitialiser le téléphone" in French like in 2.0 [Blocking Requested - why for this release]: Regression + Non-localizable strings
Comment 1•10 years ago
|
||
qawanted to check if this happens in other language. Could be missing string in French or non-localizable strings. Tested on 2.2 unaffected.
status-b2g-v2.2:
--- → unaffected
Keywords: qawanted
Comment 2•10 years ago
|
||
Issue DOES occur in other languages. NOTE: Not every language was tested for this issue. Actual Results: "Reset Phone" is not localized. Language tested: Affected: Euskara Afrikaans Kiswahili Unaffected: Galego Dansk Italiano Magyar Srpski Catala Environmental Variables: Device: Flame Master Build ID: 20140930061521 Gaia: 77ef35f5429bc3dfe9ca192b9aacc3c0bf8857de Gecko: 2ae57957e4bb Version: 35.0a1 (Master) Firmware Version: v180 User Agent: Mozilla/5.0 (Mobile; rv:35.0) Gecko/35.0 Firefox/35.0
Updated•10 years ago
|
QA Whiteboard: [QAnalyst-Triage?]
Keywords: regressionwindow-wanted
Updated•10 years ago
|
Flags: needinfo?(jmitchell)
Comment 3•10 years ago
|
||
Hi Johan, based on comment 2, it seems that some languages are okay while some are not, so I suspect this is a l10n issue. Can you provide more details about how you test this ? Any full steps to flash phones ... blah would be thankful.
Flags: needinfo?(jlorenzo)
Comment 4•10 years ago
|
||
Hi Axel, we did check built file pulling from pvt and we noticed that the related languages are not translated yet in 2.1 while they got well translated in 2.2 (master) I think this bug is caused by pointing to wrong commit id where related languages are not translated yet while they do exist on master already. Can you help us check this ? Thanks.
Flags: needinfo?(jlorenzo) → needinfo?(l10n)
Comment 5•10 years ago
|
||
(In reply to EJ Chen [:eragonj][:小龍哥] from comment #4) > we did check built file pulling from pvt and we noticed that the related > languages are not translated yet in 2.1 while they got well translated in > 2.2 (master) MASTER l10n hasn't branched yet, so gaia-l10n is currently covering 2.1, we don't have anything for master (yet). https://hg.mozilla.org/gaia-l10n/ This specific string is not localized in all languages yet (it was introduced in 2.1) http://transvision.mozfr.org/string/?entity=apps/settings/device_type/phone/settings.device.properties:reset-device&repo=gaia eu is missing only those strings, af and sw are much more behind (about 1k strings). 2.1 About comment 0 (French on 2.1): this looks like a build problem. See bug 1065175, but that was fixed by a structural change that's not available on 2.1 (bug 1022767). Sherman, can you confirm if this is the same bug?
Flags: needinfo?(l10n) → needinfo?(shchen)
Reporter | ||
Comment 6•10 years ago
|
||
(In reply to EJ Chen [:eragonj][:小龍哥] from comment #3) You're right. I'm removing the nom' then.
blocking-b2g: 2.1? → ---
Comment 7•10 years ago
|
||
Well, for 2.1 it's actually a blocker if confirmed.
Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #5) > About comment 0 (French on 2.1): this looks like a build problem. See bug > 1065175, but that was fixed by a structural change that's not available on > 2.1 (bug 1022767). > > Sherman, can you confirm if this is the same bug? I was thinking these two are the same, but patch from bug 1022767 didn't solve this issue. Still looking if anything could help from build system.
Flags: needinfo?(shchen)
Comment 9•10 years ago
|
||
Bug 1022767 is *not* on 2.1. AFAIK we don't have this issue anymore on master, only on 2.1
Assignee | ||
Comment 10•10 years ago
|
||
I've tried to pull the latest l10n files and still not able to reproduce. One think I would like to make sure, are we using the same l10n files for 2.1 and master? or did we specify any version of l10n when build 2.1?
Comment 11•10 years ago
|
||
(In reply to Sherman Chen [:chens] from comment #10) > One think I would like to make sure, are we using the same l10n files for > 2.1 and master? or did we specify any version of l10n when build 2.1? Someone from releng should be able to confirm, but we don't have any repo for 2.1 yet, so I don't think that "wrong l10n" repo is an option.
Assignee | ||
Comment 12•10 years ago
|
||
Thanks flod, I think there's a bad assumption made on locales folder in bug 944604 patch. It assumes all locales files are under |locales| folder, but actually it could be other folder because |LOCALE_BASEDIR| flag could change it[1]. [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1065175#c20
Assignee | ||
Comment 13•10 years ago
|
||
Assignee: nobody → shchen
Attachment #8498681 -
Flags: review?(ricky060709)
Attachment #8498681 -
Flags: feedback?(francesco.lodolo)
Comment 14•10 years ago
|
||
Comment on attachment 8498681 [details] [review] Pull request Not really in a position to give feedback on this (can't even flash my own builds right now). I'll pass it to :gandalf since he's more familiar with this code.
Attachment #8498681 -
Flags: feedback?(francesco.lodolo) → feedback?(gandalf)
Assignee | ||
Comment 15•10 years ago
|
||
IMO we can apply two patches from bug 1022767 and fix this one, but it would be too risky to uplift huge patch. These patch could fix this in the other way.
Comment 16•10 years ago
|
||
removing regression-window wanted: bug is not blocking and already patched
Keywords: regressionwindow-wanted
Assignee | ||
Comment 17•10 years ago
|
||
Based on comment 2 and comment 5, I would say master is not affected, those affected strings in comment 2 are actually not translated yet.
Comment 18•10 years ago
|
||
Yes, this is 2.1 only. I'm marking the other bug as duplicate to avoid wasting everyone's time.
Comment 20•10 years ago
|
||
Editing bug subject, also removing 2.2 from affected versions (see bug 1065175 comment 35).
Summary: "Reset phone" button is non-localisable → [2.1] Device specific strings like "Reset phone" are not localized on pvt builds
Comment 21•10 years ago
|
||
[Blocking Requested - why for this release]: part of settings (device specific strings) are not correctly localized on 2.1. Issue was already fixed on master, but the fix depends on bugs that can't be landed on 2.1
blocking-b2g: --- → 2.1?
Comment 22•10 years ago
|
||
Comment on attachment 8498681 [details] [review] Pull request It looks good to me and also works on my environment. r=@RickyChien. Thanks
Attachment #8498681 -
Flags: review?(ricky060709) → review+
Assignee | ||
Comment 24•10 years ago
|
||
Comment on attachment 8498681 [details] [review] Pull request [Approval Request Comment] [Bug caused by] (feature/regressing bug #): bug 944604 [User impact] if declined: Device specific strings are not localized correctly. [Testing completed]: Manual test + unit test. [Risk to taking this patch] (and alternatives if risky): Low risk and no alternatives. [String changes made]: None.
Attachment #8498681 -
Flags: approval-gaia-v2.1?
Comment 26•10 years ago
|
||
Comment on attachment 8498681 [details] [review] Pull request lgtm
Attachment #8498681 -
Flags: feedback?(gandalf) → feedback+
Updated•10 years ago
|
Attachment #8498681 -
Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
Assignee | ||
Comment 27•10 years ago
|
||
2.1: https://github.com/mozilla-b2g/gaia/commit/7ef2e1e59637a34ca4489c329b3bdee93df3ac6c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 28•10 years ago
|
||
Reverted for breaking Windows desktop B2G builds. v2.1: https://github.com/mozilla-b2g/gaia/commit/dc744273ab3f342fa03e145acb3e892258358817 https://treeherder.mozilla.org/ui/logviewer.html#?job_id=305918&repo=mozilla-aurora
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 29•10 years ago
|
||
Hey, :chens, do you have time to dig this today? We need to get all 2.1+ bugs done by today.
Flags: needinfo?(shchen)
Updated•10 years ago
|
Component: Gaia::Settings → Gaia::Build
Assignee | ||
Comment 30•10 years ago
|
||
I'm working on it, still figuring out what's happening on windows build.
Flags: needinfo?(shchen)
Assignee | ||
Comment 31•10 years ago
|
||
Attachment #8502322 -
Flags: review?(ricky060709)
Assignee | ||
Comment 32•10 years ago
|
||
Update regex in device type string checking, also replace dirname|basename with NSIFile operation.
Comment 33•10 years ago
|
||
Comment on attachment 8502322 [details] [review] Pull request 2 I leaved a comment on Github to improve regexp. However, it seems to be no problem landing after try server all green. r=@RickyChien
Attachment #8502322 -
Flags: review?(ricky060709) → review+
Assignee | ||
Comment 34•10 years ago
|
||
Comment on attachment 8502322 [details] [review] Pull request 2 [Approval Request Comment] [Bug caused by] (feature/regressing bug #): bug 944604 [User impact] if declined: Device specific strings are not localized correctly. [Testing completed]: Manual test + unit test. [Risk to taking this patch] (and alternatives if risky): Low risk and no alternatives. [String changes made]: None.
Attachment #8502322 -
Flags: approval-gaia-v2.1?
Updated•10 years ago
|
Attachment #8502322 -
Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
Assignee | ||
Comment 35•10 years ago
|
||
2.1: https://github.com/mozilla-b2g/gaia/commit/94241841e18c0ce41943bd12ab16c338faf99257
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Target Milestone: --- → 2.1 S6 (10oct)
Comment 36•10 years ago
|
||
Verified on Flame 2.1, "Reset Phone" string is localized on "French" and "Spanish" languages Device: Flame 2.1 BuildID: 20141023001201 Gaia: 1e48e3e40e0780c0cd07a3457e5fe2efeeb542d1 Gecko: 09fb60a37850 Gonk: 05aa7b98d3f891b334031dc710d48d0d6b82ec1d Version: 34.0 (2.1) Firmware: V188 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
Status: RESOLVED → VERIFIED
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: verifyme
Updated•10 years ago
|
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
You need to log in
before you can comment on or make changes to this bug.
Description
•