About Datatables language


Topic: About Datatables language

Vioque pro premium asked 6 months ago

Hi! Someone knows how to choose the language of MDBDataTable?

jouvrard pro answered 6 months ago

You can configure this by usng some DataTable options.

Fore Example here is my translation to french:

    "language": {
        "sProcessing": "Traitement en cours...",
        "sSearch": "Rechercher :",
        "sLengthMenu": "Afficher _MENU_ éléments",
        "sInfo": "Affichage de l'élément _START_ à _END_ sur _TOTAL_ éléments",
        "sInfoEmpty": "Affichage de l'élément 0 à 0 sur 0 élément",
        "sInfoFiltered": "(filtré de _MAX_ éléments au total)",
        "sInfoPostFix": "",
        "sLoadingRecords": "Chargement en cours...",
        "sZeroRecords": "Aucun élément à afficher",
        "sEmptyTable": "Aucune donnée disponible dans le tableau",
        "oPaginate": {
            "sFirst": "Premier",
            "sPrevious": "Précédent",
            "sNext": "Suivant",
            "sLast": "Dernier"
        "oAria": {
            "sSortAscending": ": activer pour trier la colonne par ordre croissant",
            "sSortDescending": ": activer pour trier la colonne par ordre décroissant"
        "select": {
            "rows": {
                "_": "%d lignes sélectionnées",
                "0": "Aucune ligne sélectionnée",
                "1": "1 ligne sélectionnée"

Vioque pro premium commented 6 months ago

Sorry, but this solution doesnt help me, i cant modify the DOM because of React, thank you btw

Piotr Glejzer staff answered 6 months ago


Show entries you can change with entriesLabel | default: entriesLabel: 'Show entries'

Showing 1 to 5 of 57 entries you can change with
infoLabel: | default: infoLabel: ['Showing', 'to', 'of', 'entries']
paginationLabel: ['Previous', 'Next']
searchLabel: 'Search'

We will add some more features in the next release. Check our packages on Monday and read a changelog! Have a nice day!


Please insert min. 20 characters.


Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: React
  • MDB Version: 4.20.0
  • Device: PC
  • Browser: Mozilla
  • OS: Windows10
  • Provided sample code: No
  • Provided link: No