p-calendar: I18N API doesn't change translations of dayNamesMin when p-calendar is inline #13793
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
[X] bug report
[ ] feature request
[ ] support request
Stackblitz Case (Bug Reports)
https://stackblitz.com/edit/primeng11-localization-bug-8x9w6u
Current behavior
When calendar is inline, the i18N API doesn't change translations of dayNamesMin. (the view is not updated)
Expected behavior
days ans month names should be updated.
Environment
dev env
Reproducer
No response
Angular version
12.0.0
PrimeNG version
12.2.3
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
14.21.1
Browser(s)
Chrome
Steps to reproduce the behavior
1- create an app that contains the p-calendar component as inline (very important)
2- add a btn that change the language (as described by the primeng doc https://www.primefaces.org/primeng-v12-lts/#/i18n)
3- in your env, try to change the language
Expected behavior
days ans month names should be updated.
The text was updated successfully, but these errors were encountered: