You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
providePrimeNG does not accept translation in the config object.
According to https://v18.primeng.org/configuration#locale translation should be configured here, but the type definition does not allow it.
Describe the bug
providePrimeNG does not accept translation in the config object.
According to https://v18.primeng.org/configuration#locale translation should be configured here, but the type definition does not allow it.
Environment
Windows 11
Chrome
Reproducer
No response
Angular version
18.2.0
PrimeNG version
18.0.0-rc1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
23.3
Browser(s)
Chrome 131
Steps to reproduce the behavior
Try the example from the docs (https://v18.primeng.org/configuration#locale)
providePrimeNG({
translation: {
accept: 'Aceptar',
reject: 'Rechazar',
//translations
}
})
Expected behavior
No typescript errors
The text was updated successfully, but these errors were encountered: