Closed Bug 929230 Opened 12 years ago Closed 12 years ago

[B2G] [1.2] [l10n] [SIM Lock] All locales: Untranslated text when attempting to launch Cost control without unlocking the SIM

Categories

(Firefox OS Graveyard :: Gaia::Cost Control, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-)

RESOLVED WORKSFORME
blocking-b2g -

People

(Reporter: ckreinbring, Unassigned, NeedInfo)

References

Details

(Keywords: l12y, Whiteboard: LocRun1.2)

Attachments

(1 file)

Description: The error message that appears when the user attempts to launch the Costi (Cost control) app without unlocking the SIM is partially untranslated if the device is set to show the Italian language. Repro Steps: 1) Update Buri to Build ID: 20131021004006 2) Set the device language to Italian and activate the SIM Lock. 3) Restart the device. 4) Launch the Costi app, closing all Inserire il PIN pages that appear. 5) Observe the error page that appears as the Costi app launches. Actual: The text of the error message above the dividing line is untranslated. Expected: The entire text of the error message is shown in the device's language. Environmental Variables Device: Buri 1.2 commercial RIL Build ID: 20131021004006 Gecko: http://hg.mozilla.org/releases/mozilla-aurora/rev/d585fe28cd55 Gaia: 1fd315337d8ae891c3024e4c682c4c50797ea40e Platform Version: 26.0a2 RIL Version: 01.02.00.019.082 Notes: Repro frequency: 100% See attached screenshot
I'll need to check but I'm pretty sure this is not an Italian bug. Could be related to B2G strings missing (e.g. error pages).
Assignee: l10n-it → francesco.lodolo
The only similar string I can find around is in toolkit http://mxr.mozilla.org/mozilla-central/source/toolkit/locales/en-US/chrome/global/commonDialogs.properties#20 ScriptDlgHeading=The page at %S says: @pike Is this bug 893802 again?
Flags: needinfo?(l10n)
Yeah. I guess using window.alert isn't great UX to begin with. It talks about app://costcontrol urls, which I think is confusing. Moving over to Firefox OS, ux needed.
Component: it / Italian → Gaia::Cost Control
Flags: needinfo?(l10n) → needinfo?(firefoxos-ux-bugzilla)
Product: Mozilla Localizations → Boot2Gecko
QA Contact: francesco.lodolo
Axel, what is the UI need exactly? Is the question what the string of the error message should be?
The UI I'm concerned about the "The page at app://communications.gaiamobile.org/ says:"
Also seen on the Bluetooth failed pairing error page. The easiet way to repro is to attempt to pair to another device, then have that other device turn off their Bluetooth.
Axel, is it that you do not want the URL to be shown?
I guess what Axel means is that we need a fully localized alert window (UI), not just a JavaScript alert which relies on strings that are not localized (or even fully localizable at the moment, considering repos, storage space, etc.).
And yes, I don't think we should show the URL. It's an internal implementation detail and doesn't help users to figure out what the problem is.
Also seen when the user attempts to add an Everything.me app to the homescreen that is already present on the homescreen.
OK. So if I understand this correctly, this bug includes the following: 1) A request for a new string, without a URL. 2) To ensure the new string can be, and subsequently is, fully translated (I don't know if this is on L10N or dev side in terms of who is expected to do this work, or a bit of both, just that it's not UX). 3) To ensure the newly translated string fits the UI/vice versa (visual design). To this end, I am flagging Matej to advise a new, URL-free string (per comment #3, and to suit the contexts noted in comment #6 and comment #10). After this, we'll need to find someone for implementation and translation and then do a visual design check. Sound good? If not, please say so. Thanks!
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(Mnovak)
Blocks: 929528
Blocks: 929567
Blocks: 929580
Blocks: 929553
Blocks: 929545
Blocks: 929268
Blocks: 929762
Can someone give me an example of a similar error message that this could follow? I'm having a hard time understanding why we even need the top message. The one below seems sufficient. If something is required there, could it just be the name of the app? Or maybe something like "Cost control encountered an error:" or "There was a problem opening Cost Control:" (Either of those could also work as generic error messages for other apps.)
Flags: needinfo?(Mnovak)
I'd be with you with just using the main message. The real bug is that the code that triggers this message uses window.alert(l10n('sim locked')), and the alert code features the URL of the origin of that call. That part is hard-coded in gecko.
Summary: [B2G] [1.2] [l10n] [SIM Lock] Italian: Untranslated text when attempting to launch Costi (Cost control) without unlocking the SIM → [B2G] [1.2] [l10n] [SIM Lock] All locales: Untranslated text when attempting to launch Cost control without unlocking the SIM
Nominating for koi? as this is an important issue
blocking-b2g: --- → koi?
Pike, Can you please articulate why we wouldn't use the top message per comment 13? Also, are we touching any strings?
Flags: needinfo?(l10n)
Adding this to bug 893802. I think we should triage 893802 as a whole on if gecko translation should block?
Depends on: 893802
Not really sure about the dependency, considering that the current approach seems to be to just use non Gecko strings.
(In reply to Preeti Raghunath(:Preeti) from comment #17) > Pike, > > Can you please articulate why we wouldn't use the top message per comment 13? Because it's not needed. > Also, are we touching any strings? No, we'd just be removing UI. It does involve adding code to replace the prompt popup, but that doesn't require new strings.
No longer depends on: 893802
Flags: needinfo?(l10n)
PS: Yes, I've removed the dependency on the gecko string l10n, as that string shouldn't really be shown to begin with.
Here's what i understand. Please correct me if i'm wrong, and renom koi? if its more important than we interpret this. The error message that describes the cost control error is translated correctly. The header of the message (the URL part) is not translated. ** however, the URL part is a alert dialog and not translatable (per comment 8) Therefore, what really should happen is a decision on: 1) convert the alert dialog to a translatable string -- which means code change or 2) rip out the alert dialog portion and leave the already tranlated string (also code change) Both 1 and 2 does not justify a koi+ argument at this time. The user can see the translated error message, understand what to do about it, and move on. As for 1 and 2, perhaps someone should file a new bug on what to implement and punt to 1.3+.
blocking-b2g: koi? → -
(In reply to Tony Chung [:tchung] from comment #22) > Both 1 and 2 does not justify a koi+ argument at this time. The user can > see the translated error message, understand what to do about it, and move > on. The user will see a mixed message: "The page at" and "says" will remain in English. This is so evident that QA opened this a bug in my localization as "missing string".
Blocks: 929561
Keywords: l12y
No longer blocks: 929268
Assignee: francesco.lodolo → nobody
Can someone test this on a device where Usage works (i.e. not a Geeksphone)? Code doesn't seem to use an alert. https://github.com/mozilla-b2g/gaia/blob/master/apps/costcontrol/js/widget.js#L242 I tracked the changes to bug 863778.
Flags: needinfo?(lebedel.delphine)
The SIM pins I have been given by IT are wrong, and therefore I have blocked all the sims I would need to verify this. They are getting back to me on Monday. Sorry for not being able to verify this sooner.
Flags: needinfo?(lebedel.delphine)
In the meantime, asking gbennett if possible to verify, please? thanks
Flags: needinfo?(gbennett)
Closed as worksforme, because of the app does not use alerts anymore. Since the Bug 963682 '[B2G] The user is given a message to input the SIM PIN just after entering the SIM PIN' was landed, the app uses an own screen to show the messages. Regards.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: