Closed Bug 828260 Opened 13 years ago Closed 8 years ago

Update prompt in multiple languages after locale switch

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-, blocking-basecamp:-, b2g18+)

RESOLVED WONTFIX
blocking-b2g -
blocking-basecamp -
Tracking Status
b2g18 + ---

People

(Reporter: overholt, Unassigned)

References

Details

(Whiteboard: [LeoVB+])

Attachments

(3 files)

After a cold boot in French, I changed the system language to English. I was then given a system update prompt which was in a mixture of English and French: 1 Update Available ------------------ Mise a jour du syste... REQUIRED 49.20 MB [Later] [Download]
French is not to be included in the target markets, and furthermore, it seems to be a localization issue. CAn we check if it happens in Spanish and Portuguese? Otherwise I would not block on this.
I don't see Spanish or Portuguese as options on my unagi so I can't verify that myself. I wouldn't be surprised if it were the same behaviour, though.
Need QA for target market language (Spanish - Portugues)
Keywords: qawanted
I have seen this before when switching languages - I am trying to find the bug I originally filed where I saw it in French. I haven't seen the system dialog case but I can reproduce a variation of this as follows: 1. Fresh flash start FTU with Spanish as language. 2. Go to Marketplace without an internet connection and confirm error messaging is in Spanish (Network Connection unavailable). 3. Go to Setting and Switch languages to Portuguese. 4. Repeat Step 2 5. Error message is in English, and pressing Try Again it continues to show in English instead of Portuguese. If I reboot the phone it is shown correctly in the language. Some kind of caching issue?
QA Contact: mozillamarcia.knous
I was testing with the latest nightly in Comment 4, I will flash back and try an update scenario to see if I see what Andrew was seeing.
I see exactly the same thing as Andrew in comment #0. Some strings seem to be cached and you can see mixed language content every time you toggle the language setting.
Here is my repro of the issue with System Update: 1. Fresh flash and start in Spanish. 2. Switch to Portuguese 3. Check for a system update See attached screenshot
(In reply to Marcia Knous [:marcia] from comment #7) > Created attachment 700132 [details] > Screenshot of issue in Portuguese > > Here is my repro of the issue with System Update: > > 1. Fresh flash and start in Spanish. > 2. Switch to Portuguese > 3. Check for a system update > > See attached screenshot Strange, as "System Update" is not Spanish or Portuguese but English :(
We will not block V1, but we would take a patch.
blocking-basecamp: ? → -
tracking-b2g18: --- → +
Keywords: qawanted
Assignee: nobody → kaze
I can confirm comment #7 on today’s build, despite an up-to-date pt-BR locale. There’s an issue with the update prompt localization for sure. Concerning comment #0: it might be related to comment #7 but it could also be caused by an outdated French locale (which is not synced with the github repo as often as I’d like it to be). I’m not sure that comment #4 is the same bug. Investigating.
Marcia, can you still reproduce this bug?
Flags: needinfo?(mozillamarcia.knous)
This is what I currently see with the French locale when an update is available.
Flags: needinfo?(mozillamarcia.knous)
Ugh, couldn’t reproduce on my device. Thanks Marcia, keeping this on my radar. :-/
Notes for happy testing: • this nice little script [1] allows to specify a custom update URL (e.g. [2]); • click on Settings > “Device information” > “Check now” to manually check for OTA updates; • unless gonk/gecko/gaia is built with VARIANT=user (see gonk/.userconfig), OTA updates are disabled. [1] https://github.com/Mozilla-TWQA/B2G-flash-tool/blob/master/change_OTA_URL.sh [2] http://people.mozilla.org/~schien/update.xml
blocking-b2g: --- → leo?
Not blocking on this for 1.1 given we shipped with this issue in 1.0.1 and the workaround is that a user may get the update once a restart happens hence not a blocking issue at this point in the 1.1 cycle
blocking-b2g: leo? → -
Comment on attachment 776373 [details] link to pull request The change makes sense, but we need to add tests: * to check that we're setting the nameID correctly, inspired by [1] * to check that we're using the nameID correctly (and _not_ using it when empty), inspired by [2] [1] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/test/unit/updatable_test.js#L160-163 [2] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/test/unit/update_manager_test.js#L1108-1115
Attachment #776373 - Flags: review?(etienne)
Thanks for the pointers Étienne, I’ve just added unit tests as you suggested.
Attachment #776373 - Flags: review?(etienne)
Comment on attachment 776373 [details] link to pull request Tim, would you please review this patch (or forward this review)? Étienne is on PTO these days.
Attachment #776373 - Flags: review?(etienne) → review?(timdream)
Comment on attachment 776373 [details] link to pull request Looks good.
Attachment #776373 - Flags: review?(timdream) → review+
Merged on master: https://github.com/mozilla-b2g/gaia/commit/50f2f9592adae04fb798007452af3a5ae79315e0 Marcia, may I bother you again to check if this patch solves the issue?
Flags: needinfo?(mozillamarcia.knous)
See Also: → 892031
Whiteboard: [LeoVB+]
(In reply to Fabien Cazenave [:kaze] from comment #22) > Merged on master: > https://github.com/mozilla-b2g/gaia/commit/ > 50f2f9592adae04fb798007452af3a5ae79315e0 > > Marcia, may I bother you again to check if this patch solves the issue? Yes, I will check this today on the latest build on master.
Flags: needinfo?(mozillamarcia.knous)
Assignee: fabien → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: