-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MultiSelect: Translation does not take effect #6303
Comments
There is a By looking at the code, the |
Stumbled across this today, too. Fix would be appreciated. |
Fix in PR :) |
…e-locale #6303 fix: Multiselect - correctly default to locale when selectedItemsLabel…
Describe the bug
MultiSelect does not show the locale translation when you have a comma separated select and have selected various items. It always shows in English.
In the stackblitz that I shared I show a working Select component that will change between English, Spanish or Chinese. Then after that there is a MultiSelect component that does not change language when the language is modified.
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-v4fdq8
PrimeVue version
4.0.5
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The component should show "N elementos seleccionados" instead of "N items selected" if spanish is selected for example.
The text was updated successfully, but these errors were encountered: