[clock] Alarm set in one language "Time" and "Label" doesn't translate to a different language when language changed within Settings App.

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
5 years ago
a year ago

People

(Reporter: vishnubiaora, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(tracking-b2g:backlog)

Details

(Whiteboard: [LibGLA,TD83396,WW, B])

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Alarm set in one language "Time" and "Label" doesn't translate to a different language  when language changed within Settings App.
Repro Steps:
1) Tap Clock App
2) Tap Alarm icon
3) Set alarm without entering in label(using default label) and tap Done
4) Tap Homescreen button
5) Tap Settings App
6) Tap Language
7) Select a different language (i.e. japanese)
8) Tap Homescreen button
9) Tap Clock App
10)frequency: 100%

Actual:
Day of week and calendar date are translated to japanese. Alarm names and Time(AM/PM)are not translated.
Expected:Alarm name and Time(AM/PM) should be translated in Japanese.
(Reporter)

Updated

5 years ago
Flags: needinfo?(m)
(Reporter)

Updated

5 years ago
Whiteboard: [LibGLA,TD83396,WW, B]
(Reporter)

Comment 1

5 years ago
in same issue if we select any days in "Repeat" also not localized after changing language in setting App.
(Reporter)

Comment 2

5 years ago
Hi Wayne,
please help us to resolving this issue.
Flags: needinfo?(wchang)
This is minor, leaving for the functional team to take care.
blocking-b2g: --- → backlog
Flags: needinfo?(wchang)
(Reporter)

Comment 4

5 years ago
Created attachment 8472080 [details]
Pointer to Pull Request

my approach is when language change then window.addEventListener('localized', )
function is called and we localize Time,Repeat and label of respective alarm.
please review this.
Attachment #8472080 - Flags: review?(m)
Comment on attachment 8472080 [details]
Pointer to Pull Request

I think we'll need to take a different, likely more simple approach here: Rather than manually mutating the '.repeat' selector instances, we should just rerender the alarm list (as is done in addOrUpdateAlarm).
Attachment #8472080 - Flags: review?(m)
Flags: needinfo?(m)
blocking-b2g: backlog → ---
tracking-b2g: --- → backlog

Comment 6

a year ago
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.