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

[b2g][l10n][2.0][zh-cn] all time format is in 24h format

RESOLVED FIXED

Status

Mozilla Localizations
zh-CN / Chinese (Simplified)
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: Peipei Cheng (needinfo if you need my action), Assigned: Shaohua Wen)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: LocRun2.0)

I found that we translate all format for time from 12h format to 24h format. Is there any reason that we do this? I check locale zh-tw, it uses 12h format and the time format looks good.

I think it would be better we use 12h time format and translate PM and AM accordingly.


Please see following strings for details.

原文				已翻译文本	
%I:%M			%H:%M	
%a %b %e %Y %I:%M:%S %p			%Y 年 %b %e 日 %a %H:%M:%S	
%I:%M:%S %p		%H:%M:%S	
%I:%M %p		%H:%M	
%x %I:%M %p		%x %H:%M
Whiteboard: LocRun2.0

Comment 1

3 years ago
I don't oppose changes to the original format, although I prefer 24h format.

await bug 1023735.

For the default settings, I prefer 24h format, that is the current.
(In reply to YF (Yang) from comment #1)
> I don't oppose changes to the original format, although I prefer 24h format.
> 
> await bug 1023735.
> 
> For the default settings, I prefer 24h format, that is the current.

The default setting should be 12h format. I checked English and zh-tw locale. They all followed the default 12h format. 
And as I listed in comment 0, I don't understand why we changed the time format when we do translation.
zh-cn always translate %I:%M %p to %H:%M . I think it's better we translate to %p %I:%M
Side note: originally the support for Chinese format (localize AM/PM, place it before time) was pretty poor, but has improved over time
https://bugzilla.mozilla.org/show_bug.cgi?id=968062
(In reply to Francesco Lodolo [:flod] from comment #4)
> Side note: originally the support for Chinese format (localize AM/PM, place
> it before time) was pretty poor, but has improved over time
> https://bugzilla.mozilla.org/show_bug.cgi?id=968062

Yes. I can see Japanese and Traditional Chinese already achieved translating and placing AM/PM before time). So I think it should also be ok for simplified Chinese.
@Yang, I have modified the strings I listed in comment 0. Could you please review? https://narro.mozest.com/narro_project_text_list.php?l=zh-CN&p=44&tf=1&st=2&s=%25H%3A%25M
This is fixed in latest build now. Thank you!
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.