Closed frankvdb7 closed 4 years ago
Hi Fmavdb,
Greetings from Syncfusion support.
While checking the reported query, we would like to inform you that DateRangePicker does not have a Today button in the popup and DatePicker having this label on its popup. So, we can change the today button text of the DatePicker as mentioned in the below code example.
DateRangePicker popup:
DatePicker popup:
[app.component.ts]
//Load the L10n from ej2-base
import { L10n } from '@syncfusion/ej2-base';
export class AppComponent {
ngOnInit() {
//load the locale object to set the localized placeholder value
L10n.load({
'en-US': {
'datepicker': {
placeholder: 'Wählen Sie ein Datum aus',
today: 'heute'
}
}
});
}
}
Please find the sample for DatePicker from the below link.
Sample Link: https://stackblitz.com/edit/angular-1h1skw-lf6wp8?file=app.component.ts
Also, If you are facing any other issues in DateRangePicker, please let us know. We will happy to assist you.
Regards, Berly B.C
Yes, I'm sorry we've made a mistake in our translations and made the assumption date-range-picker also used 'Today'.
Hello,
The text 'Today' in the date-range-picker component can not be translated. It's also not listed in the component documentation page: https://ej2.syncfusion.com/documentation/daterangepicker/globalization/
With best regards, Frank