Opened 13 years ago

Closed 13 years ago

#8466 closed defect (wontfix)

MMM format in french locale is not great

Reported by: vincentastek Owned by: Adam Peller
Priority: high Milestone: tbd
Component: Internationalization Version: 1.2.3
Keywords: calendar datetextbox MMM datePattern Cc:
Blocked By: Blocking:



Don't know if you would consider this as a defect, but I got quite a problem with the MMM format in the datetextbox.

With a 'en' locale I got a great format like :

"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"

But in 'fr' locale I got something like :

"janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc."

This is a problem for me for two reasons :

  • Why do we have a "." at the end of the months ? I don't want one and if I did I could add the "." in my datePattern. But now it's not the same format as in english and I don't find it normal.
  • For some months like "Janvier" we have "Janv" but it would better be "Jan" because there is no ambiguity so the "v" is not requested I think. I usually use JAVA SimpleDateFormat? patterns which give for "MMM" in 'fr' the following results :

Jan Fev Mar Avr Mai Juin Juil Aou Sep Oct Nov Dec

an that seems more logical to me than the dojo labels. Is it possible to have such a result ? And if not why ?

Thanks a lot for the work you do and I hope I will have an answer.



Change History (3)

comment:1 Changed 13 years ago by Adam Peller


Our data comes directly from I do not know why they chose these strings, but supposedly this data comes from all the top vendors in the industry and, at least the major languages, are heavily researched and discussed by native speakers. Would you be willing to take your complaint there? Or I could file something on your behalf.

comment:2 Changed 13 years ago by vincentastek

Ok thanks for the reply. Will see what I do.

Thanks a lot.

comment:3 Changed 13 years ago by Adam Peller

Resolution: wontfix
Status: newclosed

fwiw, Java should use the same repository, along with Zend, etc. so we're in pretty good company. Perhaps Java is just out of date and they changed these abbreviations recently? (I think that's the case, and I think older versions of Dojo had what you see in Java) Having a native speaker file the question with the CLDR people would mean a lot.

Apparently, somebody thought abbreviations with periods was best for French speakers, but it's not possible here to just use '.' in the date pattern, since some month names are not abbreviated.

Note: See TracTickets for help on using tickets.