Multiselect translation


Topic: Multiselect translation

mjenny asked 5 years ago

Expected behavior multiselect text "select all" can be translated

Actual behavior the attribute "selectAllLabel" is not valid HTML, as it contains capital letters. Asp core/Razor automatically converts such attributes to lowercase, whereby the attribute is ignored by MDB and the text can not be translated.


Grzegorz Bujański staff commented 5 years ago

Hi. Try use data-label-select-allattribute.


mjenny commented 5 years ago

Hi Grzegorz, this did the trick, thank you.

I have also found and added "data-label-options-selected" for the "options selected" translation.

Maybe you should update the documentation for other users: https://mdbootstrap.com/docs/jquery/forms/multiselect/


Grzegorz Bujański staff commented 5 years ago

At the end of the documentation we added this note: The options are the same as in the Single Select, described here, And we added link to: https://mdbootstrap.com/docs/jquery/forms/select/#select-options-and-attributes


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.14.1
  • Device: PC
  • Browser: Firefox
  • OS: Linux
  • Provided sample code: No
  • Provided link: No