Opened 10 years ago

Closed 10 years ago

#8935 closed enhancement (invalid)

Polish localization incomplete - calendar

Reported by: torfox Owned by: Adam Peller
Priority: high Milestone: tbd
Component: Internationalization Version: 1.2.3
Keywords: i18n, polish, calendar, gregorian, locale Cc: bartosz.jankiewicz@…
Blocked By: Blocking:

Description

Dojo provides basic support for PL (polish) localization except for the calendar. I have done some modifications to the library to provide polish i18n support.

1) I have added the module "dojo.cldr.nls.pl"
2) I have updated the list of supported locales in dojo.cldr.supplemental
3) I have updated dojo.date.locale by adding "pl" to the argument of dojo.requireLocalization function invocation.

dojo.cldr.nls.pl.gregorian:

( {

"field-dayperiod" : "AM/PM", "field-minute" : "Minuta", "eraNames" : [ "Przed naszą erą", "Naszej ery" ], "field-weekday" : "Dzień tygodnia", "days-standAlone-wide" : [ "Niedziela", "Poniedziałek", "Wtorek", "Środa",

"Czwartek", "Piątek", "Sobota" ],

"months-standAlone-narrow" : [ "St", "Lu", "Ma", "Kw", "Ma", "Cz", "Lp", "Si", "Wr",

"Pa", "Ls", "Gr" ],

"field-era" : "Era", "field-hour" : "Godzina", "timeFormat-full" : "h:mm:ss a v", "months-standAlone-abbr" : [ "sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz",

"paź", "lis", "gru" ],

"days-standAlone-narrow" : [ "N", "P", "W", "Ś", "C", "P", "S" ], "eraAbbr" : [ "PNE", "NE" ], "dateFormat-long" : "d MMMM, yyyy", "timeFormat-medium" : "h:mm:ss a", "field-zone" : "Strefa", "dateFormat-medium" : "d MMM, yyyy", "quarters-standAlone-wide" : [ "1 kwartał", "2 kwartał", "3 kwartał",

"4 kwartał" ],

"dateTimeFormat" : "{1} {0}", "field-year" : "Rok", "quarters-standAlone-narrow" : [ "1", "2", "3", "4" ], "months-standAlone-wide" : [ "styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień",

"październik", "listopad", "grudzień" ],

"field-week" : "Tydzień", "timeFormat-long" : "h:mm:ss a z", "months-format-abbr" : [ "sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz",

"paź", "lis", "gru" ],

"timeFormat-short" : "h:mm a", "field-month" : "Month", "quarters-format-abbr" : [ "K1", "K2", "K3", "K4" ], "days-format-abbr" : [ "nie", "pon", "wto", "śro", "czw", "pią", "sob" ], "pm" : "PM", "days-format-narrow" : [ "N", "P", "W", "Ś", "C", "P", "S" ], "field-second" : "Sekunda", "field-day" : "Dzień", "months-format-narrow" : [ "St", "Lu", "Ma", "Kw", "Ma", "Cz", "Lp", "Si", "Wr",

"Pa", "Ls", "Gr" ],

"am" : "AM", "days-standAlone-abbr" : [ "nie", "pon", "wto", "śro", "czw", "pią", "sob" ], "dateFormat-short" : "yyyy-M-d", "dateFormat-full" : "EEEE, d MMMM, yyyy", "months-format-wide" : [ "styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień",

"październik", "listopad", "grudzień" ],

"dateTimeAvailableFormats" : [ "HH:mm", "HH:mm:ss", "L", "E, M/d", "LLL",

"E, MMM d", "E, MMMM d", "MMMM d", "MMM d", "M/d", "d", "h:mm a", "mm:ss", "yyyy", "M/yyyy", "EEE, M/d/yyyy", "MMM yyyy", "EEE, MMM d, yyyy", "MMMM yyyy", "Q yyyy", "QQQ yyyy" ],

"quarters-format-wide" : [ "1 kwartał", "2 kwartał", "3 kwartał",

"4 kwartał" ],

"days-format-wide" : [ "Niedziela", "Poniedziałek", "Wtorek", "Środa",

"Czwartek", "Piątek", "Sobota" ],

"eraNarrow" : [ "PNE", "NE" ], "dateTimeFormats-appendItem-Second" : "{0} ({2}: {1})", "dateTimeFormats-appendItem-Year" : "{0} {1}", "quarters-standAlone-abbr" : [ "Q1", "Q2", "Q3", "Q4" ], "dateTimeFormats-appendItem-Week" : "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone" : "{0} {1}", "dateTimeFormats-appendItem-Month" : "{0} ({2}: {1})", "dateTimeFormats-appendItem-Minute" : "{0} ({2}: {1})", "dateTimeFormats-appendItem-Day" : "{0} ({2}: {1})", "quarters-format-narrow" : [ "1", "2", "3", "4" ], "dateTimeFormats-appendItem-Quarter" : "{0} ({2}: {1})", "dateTimeFormats-appendItem-Day-Of-Week" : "{0} {1}", "dateTimeFormats-appendItem-Hour" : "{0} ({2}: {1})", "dateTimeFormats-appendItem-Era" : "{0} {1}"

})

Attachments (1)

dojo_pl.zip (6.5 KB) - added by torfox 10 years ago.
Changed files

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by torfox

Attachment: dojo_pl.zip added

Changed files

comment:1 Changed 10 years ago by Adam Peller

Resolution: invalid
Status: newclosed

Sorry for the trouble. Polish and over a hundred other languages are supported by the CLDR, but we do not ship all of the files in their Javascript form. You must simply run an ant script in the util/buildscripts/cldr directory.

See http://bugs.dojotoolkit.org/browser/dojo/trunk/cldr/README

Note: See TracTickets for help on using tickets.