@syncfusion/ej2-calendars 23.2.4 → 23.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1279,8 +1279,14 @@ let CalendarBase = class CalendarBase extends Component {
1279
1279
  this.createContentHeader();
1280
1280
  this.createContentBody();
1281
1281
  }
1282
+ if (this.getModuleName() === 'calendar') {
1283
+ const l10nLocale = { today: 'Today' };
1284
+ this.l10 = new L10n(this.getModuleName(), l10nLocale, this.locale);
1285
+ }
1282
1286
  this.l10.setLocale(this.locale);
1283
- this.updateFooter();
1287
+ if (this.showTodayButton) {
1288
+ this.updateFooter();
1289
+ }
1284
1290
  break;
1285
1291
  case 'showTodayButton':
1286
1292
  if (newProp.showTodayButton) {