-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: selectionMessage not changing using locales #3929
Comments
itpzzi
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
May 5, 2023
Same for me :( |
Same for me, was resolved? |
The issue is fixed for the next version. Please track at #4558 |
tugcekucukoglu
removed
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Oct 17, 2023
esse problema já foi solocionado sabem informar ? |
Unfortunately, in the latest version @ 4.0.5, this issue still exists. The locle of other components is normal. |
Use the selectedItemsLabel prop <MultiSelect selectedItemsLabel="{0} Columns Selected" ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
According to the documentation, it is described that it is possible to change the messages, including the one for the number of selected items. However, applying the translation for the "selectionMessage" does not have any effect, even using different translation files. I needed to use the Portuguese version "{0} itens selecionados", but the component continues to display "{0} items selected" no matter what I do.
Looking at the code, I suspect that it is the computed variable that is used in the template, not taking into account the translation definitions.
Reproducer
https://codesandbox.io/s/laughing-snowflake-j73vgg
PrimeVue version
3.20.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
any
Steps to reproduce the behavior
Expected behavior
I needed to use the Portuguese version "{0} itens selecionados"
The text was updated successfully, but these errors were encountered: