ant-design-blazor/components/locales
Nino Padrutt 5809c80011 feat(module: date-picker): support localization (#803)
* start trying to add a different first day of the week based on localization.

* add first day of week parameter and get weekday local  from .net

* fix some issues

* extend demo

* remove no longed needed Locale parameter

* fix range for selection

* add german localization

* add entry for API section

* remove obsolet things from the react ant documentation

* add description to chart documentation

* translate general configuration to english.

* code cleanup

* use LocalProvider to get first day of week.

* use localeprovider instead of date picker localization

* remove no longer used parameter

* delete no longer used interface

* change from enum to string due to parsing issue.

* add missing formats and use culture info from localprovider

* correct locales

* us Sunday as a default

* remove no longer used culture info parameter

* adjust locales

* add parameter for Locale instead of directly accessing it.

* add inheritance to access locale

* typo

* readd culture info parameter

* fixes for locale jsons

* adjust demo and api

* small adjustments on docs, set monday in chinese as first day of the week.

* use locale in calendar as well.

* adjust docs

* use enum

* adjust demo

* adjust for different starting date.

* add defaults for DatePickerLocale

* add short week days to locale files

* use days from locale file

* code cleanup

use consts instead of magic numbers, add code comment and use dayOfWeek As param instead of the whole locale object. Remove no longed used method.

* not sure about the chinese translation so I remove them

* Revert "not sure about the chinese translation so I remove them"

This reverts commit 54017513c7b684494cf06184b4051a4dcfc43850.
2020-11-25 11:08:12 +08:00
..
ar-EG.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
az-AZ.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
bg-BG.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
ca-ES.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
cs-CZ.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
da-DK.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
de-DE.json feat(module: date-picker): support localization (#803) 2020-11-25 11:08:12 +08:00
el-GR.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
en-GB.json feat(module: date-picker): support localization (#803) 2020-11-25 11:08:12 +08:00
en-US.json feat(module: date-picker): support localization (#803) 2020-11-25 11:08:12 +08:00
es-ES.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
et-EE.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
fa-IR.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
fi-FI.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
fr-BE.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
fr-FR.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
he-IL.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
hi-IN.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
hr-HR.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
hu-HU.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
hy-AM.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
id-ID.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
is-IS.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
it-IT.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
ja-JP.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
ka-GE.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
kn-IN.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
ko-KR.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
ku-IQ.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
lv-LV.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
mk-MK.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
mn-MN.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
ms-MY.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
nb-NO.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
ne-NP.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
nl-BE.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
nl-NL.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
pl-PL.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
pt-BR.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
pt-PT.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
ro-RO.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
ru-RU.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
sk-SK.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
sl-SI.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
sr-RS.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
sv-SE.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
ta-IN.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
th-TH.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
tr-TR.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
uk-UA.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
vi-VN.json feat(module: i18n): add more languages (#580) 2020-09-08 12:40:58 +08:00
zh-CN.json feat(module: date-picker): support localization (#803) 2020-11-25 11:08:12 +08:00
zh-TW.json feat(module: date-picker): support localization (#803) 2020-11-25 11:08:12 +08:00