bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

Incorrect localization in Calendar #9687

Closed canonic-epicure closed 3 months ago

canonic-epicure commented 3 months ago

Forum post

Part 1

The day and week units in Calendar are not localized (month and year are localized).

To reproduce:

Part 2

Once Part1 is fixed, need to make localization for Calendar.previous and Calendar.next in German locale context-aware (see how its done in russian locale for example) - should use different endings for different units:

Is -> should be
Vorherige jahr -> Vorheriges Jahr
Nächste jahr -> Nächstes Jahr
Vorherige monat -> Vorheriger Monat
Nächste monat -> Nächster Monat
Vorherige week -> Vorherige Woche
Nächste week -> Nächste Woche
Vorherige day -> Vorheriger Tag
Nächste day -> Nächster Tag