Hi Jürgen,
Thanks for contacting Syncfusion support.
We have looked into your query “error: locale="de"” and suspect that this issue may be caused due to “de” culture CLDR-Data is not loaded correctly in your application. So, we suggest you to refer the locale scripts as like in the below code example in your app.component.ts file. Also, please ensure all locale related files are referred and loaded correctly in your application to get rid of the reported issue.
|
[app.component.ts]
declare let require: Function;
@Component({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent implements OnInit {
constructor(private ngEle: ElementRef) {
loadCldr(
require('../../node_modules/cldr-data/main/de/ca-gregorian.json'),
require('../../node_modules/cldr-data/main/de/numbers.json'),
require('../../node_modules/cldr-data/main/de/timeZoneNames.json')
); |
For your convenience, we have prepared the sample based on your requirement. Please get the sample from the below location.
To know more about Globalization in DatePicker component please refer the below UG Documentation link.
Regards,
Berly B.C