Hello i have time axis like on the image. I need to add translations for this like in german, dutch etc.
Where can i change this ? I have useTranslation from 'react-i18next' Please help
Dates and also day names are localized by DateHelper.locale key. Please set correct country code to get the translation. We will update our docs with the info:
Change date formats
Dates are formatted using Intl.DateTimeFormat.
Full list of locales according to BCP 47 standard is available here.
When you create a custom locale, you need to update DateHelper.locale property according to your country code.
For example, if you create Spanish locale, you need to set:const locale = { DateHelper : { locale : 'es-ES' } } LocaleManager.registerLocale('Es', { desc : 'Spanish', locale : locale });
German locale you can find in our examples: Scheduler/examples/localization/locales/custom.locale.De.js
And to create Dutch locale, please follow the guide: https://www.bryntum.com/docs/scheduler/#guides/customization/localization.md
Best wishes,
Pavel
Pavlo Miklashevych
Sr. Frontend Developer