If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

UNCONFIRMED
Unassigned

Status

Firefox OS
Gaia::Clock
UNCONFIRMED
3 years ago
3 years ago

People

(Reporter: Vishnu Dangi, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(tracking-b2g:backlog)

Details

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

Attachments

(1 attachment)

(Reporter)

Description

3 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

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

Updated

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

Comment 1

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

Comment 2

3 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

3 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)
(Assignee)

Updated

3 years ago
blocking-b2g: backlog → ---
tracking-b2g: --- → backlog
You need to log in before you can comment on or make changes to this bug.