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: mdb-select: Change legend 'Select All' to 'Seleccionar Todo'

gkennedy free asked 6 years ago


Hi there,

Is there a way to change legend 'Select All' to 'Seleccionar Todo' in the mdb-select?

Here is the code that I'm using:

    <div>

        <select class="mdb-select md-form colorful-select dropdown-primary mt-0" multiple searchable="Búsqueda aquí..." id="evidenciasReactivoID[]">

            <option value="" disabled selected>Seleccione aquí...</option>

            #for(evidencia in evidencias) {

            <option value="#(evidencia.id)">#(evidencia.descripcion)</option> }

        </select>

    </div>


gkennedy free commented 6 years ago

thank you, I'll wait for you to implement it


Piotr Glejzer staff commented 6 years ago

Did you resolve your problem with this? We can't implement your language for our products because we are using only english language (we don't have plans for internationalization, for now).


gkennedy free commented 6 years ago

Thank you Piotr,

I can live with this, the question is if your company can live this way in this world of technology. I bought your product to make my work easier I don’t have time to hack it...


Piotr Glejzer staff commented 6 years ago

Yes, I understand this. I can't give you ETA for that. Sorry about that. You can use gulp for easily resolve that problem.

Here is a tutorial: 

https://mdbootstrap.com/education/bootstrap/gulp-installation/

Best regards,

Piotr


gkennedy free commented 6 years ago

Thank you, I’ll give it a try.

Best regards


Kneidels pro answered 6 years ago


Need this too (to other languages) hope they can do this soon (internationalization, in general)


Bartłomiej Malanowski staff commented 6 years ago

We're planning to add the internationalization option to our Material Select


Piotr Glejzer staff answered 6 years ago


Yes, It is possible to change 'select all'. You have to find in your material-select.js file line with variable (probably line 29) :

this.$toggleAll 
 
and change 'Select all' for what you want. You have to use gulp to compile modified material-select.js to mdb.min.js to working properly.
 
 
 
 


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.15
  • Device: MacBook Pro
  • Browser: Google Chrome Version 70.0.3538.
  • OS: macOS Mojave 10.14.1
  • Provided sample code: No
  • Provided link: No