Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Multiselect translation

mjenny free asked 4 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 4 years ago

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


mjenny free commented 4 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 4 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

  • ForumUser: 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