[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #11189(reviewing)

Opened 5 months ago

Last modified 2 days ago

dateformat for fa-IR

Reported by: goun.lee@… Owned by: roozbeh
Component: datetime Data Locale: fa
Phase: dsub Review: pedberg
Weeks: Data Xpath:
Xref:

Description

Hi, I work for LG Electronics. We use CLDR data for developing a platform. and We've got some locale data change feedback through the LG local office.
I create some tickets to report here. I want to discuss if those are acceptable to CLDR.

cldr-cal-persian-full/main/fa/ca-persian.json

"dateTimeFormats": {
   "full": "ﺱﺎﻌﺗ {time}، {date}"
   "long": "ﺱﺎﻌﺗ {time}، {date}"
   "medium": "{time}،<200f> {date}",
   "short": "{time}،<200f> {date}"
 },
 "dateFormats": {
    "full": "EEEE, d MMMM y",
     "long:": "<200f>d MMMM y",
     "medium:": "<200f>d MMM y",
     "short:": "d<200f>/M<200f>/y"
 }
"persian->days->format->short: {
   "sun": "یکﺶﻨﺒﻫ",
   "mon": "ﺩﻮﺸﻨﺒﻫ",
   "tue": "ﺲﻫ<ﺲﻫ<200c>ﺸﻨﺒﻫ",
   "wed": "چﻩﺍﺮﺸﻨﺒﻫ",
   "thu": "پﻦﺠﺸﻨﺒﻫ",
   "fri": "ﺞﻤﻌﻫ",
   "sat": "ﺶﻨﺒﻫ"
},
"persian->days->format->narrow: {
   "sun": "یکﺶﻨﺒﻫ",
   "mon": "ﺩﻮﺸﻨﺒﻫ",
   "tue": "ﺲﻫ<ﺲﻫ<200c>ﺸﻨﺒﻫ",
   "wed": "چﻩﺍﺮﺸﻨﺒﻫ",
   "thu": "پﻦﺠﺸﻨﺒﻫ",
   "fri": "ﺞﻤﻌﻫ",
   "sat": "ﺶﻨﺒﻫ"
}

cldr-dates-full/main/fa/ca-gregorisn.json

"calendar->gregorian->days->format->short: {
   "sun": "یکﺶﻨﺒﻫ",
   "mon": "یکﺶﻨﺒﻫ",
   "tue": "ﺲﻫ<200c>ﺸﻨﺒﻫ",
   "wed": "چﻩﺍﺮﺸﻨﺒﻫ",
   "thu": "پﻦﺠﺸﻨﺒﻫ",
   "fri": "ﺞﻤﻌﻫ",
   "sat": "ﺞﻤﻌﻫ",
},
"calendar->gregorian->days->format->narrow: {
   "sun": "یکﺶﻨﺒﻫ",
   "mon": "یکﺶﻨﺒﻫ",
   "tue": "ﺲﻫ<200c>ﺸﻨﺒﻫ",
   "wed": "چﻩﺍﺮﺸﻨﺒﻫ",
   "thu": "پﻦﺠﺸﻨﺒﻫ",
   "fri": "ﺞﻤﻌﻫ",
   "sat": "ﺞﻤﻌﻫ",
}


Attachments

Change History

comment:1 Changed 4 months ago by 002-fa_0016@…

Hi,
The names are scrambled on my screen, so I cannot if they are ok or not. But here's how it should be:
شنبه: Saturday
یک‌شنبه: Sunday
دوشنبه: Monday
سه‌شنبه: Tuesday
چهارشنبه: Wednesday
پنج‌شنبه: Thursday
جمعه: Friday


"dateTimeFormats": {

"full": "ساعت {time}، {date}"
"long": "ساعت {time}، {date}"
"medium": "{time}،<200f> {date}",
"short": "{time}،<200f> {date}"

},
"dateFormats": {

"full": "EEEE, d MMMM y",

"long:": "<200f>d MMMM y",
"medium:": "<200f>d MMM y",
"short:": "d<200f>/M<200f>/y"

}

"persian->days->format->short: {

"sun": "یک‌شنبه",
"mon": "دوشنبه",
"tue": "سه‌شنبه",
"wed": "چهارشنبه",
"thu": "پنج‌شنبه",
"fri": "جمعه",
"sat": "شنبه"

},
"persian->days->format->narrow: {

"sun": "یک‌شنبه",
"mon": "دوشنبه",
"tue": "سه‌شنبه",
"wed": "چهارشنبه",
"thu": "پنج‌شنبه",
"fri": "جمعه",
"sat": "شنبه"

}

cldr-dates-full/main/fa/ca-gregorisn.json

"calendar->gregorian->days->format->short: {

"sun": "یک‌شنبه",
"mon": "دوشنبه",
"tue": "سه‌شنبه",
"wed": "چهارشنبه",
"thu": "پنج‌شنبه",
"fri": "جمعه",
"sat": "شنبه"

},
"calendar->gregorian->days->format->narrow: {

"sun": "یک‌شنبه",
"mon": "دوشنبه",
"tue": "سه‌شنبه",
"wed": "چهارشنبه",
"thu": "پنج‌شنبه",
"fri": "جمعه",
"sat": "شنبه"

}

comment:2 Changed 3 months ago by pedberg

  • Owner changed from anybody to pedberg
  • Priority changed from assess to major
  • Status changed from new to accepted
  • Milestone changed from UNSCH to 35

Need to review with language experts.

comment:3 Changed 4 days ago by roozbeh

  • Cc pedberg added
  • Data Locale changed from fa-IR to fa
  • Owner changed from pedberg to roozbeh

comment:4 Changed 3 days ago by roozbeh

The suggested changes boil down to:

  • Change spelling of Sunday from یکشنبه to یک‌شنبه, and the spelling of Thursday from پنجشنبه to پنج‌شنبه. This is against the recommendations of the Persian Academy and FarsiWeb's Persian Locale Requirements spec, so we shouldn't do this.
  • Change short and narrow days of the week to the wide names. It's a definite no on the narrow forms, but the short forms we currently have is some kind of invention and is not really used by anybody. Still, I would rather keep the present short forms, since they are understandable by users.
  • Change date and time formats to put the time before the date. This is against FarsiWeb's recommendations too, and although it is used, the date before time is much more frequent. So no change recommended here either.
  • Add a comma in full data formats, between the day of the week and the day of the month. FarsiWeb recommendations mention just a space, and I believe that's cleaner Persian. No comma is necessary. So no changes recommended again.
  • Add an RLM before long and medium data formats. This is not necessary, since CLDR formats are expected to be in a right-to-left context, and adding the character would only help when the date is in a left-to-right context. No changes recommended.
  • Reverse the order of day, month, and year in short date formats and make sure they have the same visual order by adding RLMs. This is plausible. The specs don't specify the logical order of dates, just how they should appear. Also, when users read numeric dates aloud, they read them in day-month-year order. I still don't recommend a change, since this could cause problems in parsing existing dates which are most commonly typed without RLMs and in year-month-day order.

All in all, some good suggestions, but no change needed or recommended.

comment:5 Changed 3 days ago by roozbeh

  • Status changed from accepted to reviewing
  • Review set to pedberg

comment:6 Changed 2 days ago by fredrik

FWIW, checked with Apple's vetter and he's OK with this.

View

Add a comment

Modify Ticket

Action
as reviewing
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.