DataTable

Mbanolas asked 3 years ago

The legends (Search, Rows per page,...) in datatables are in English. How can we translate them into another language Thanks


Dawid Wajszczuk staff answered 3 years ago

Hi,

To change search text just change it in label <label class="form-label" for="datatable-search-input">Your text</label>. For Rows per page there is rowsText option. All available options can be found here under API tab https://mdbootstrap.com/docs/standard/data/datatables/. Here is the snippet https://mdbootstrap.com/snippets/standard/d-wajszczuk/3626125.

Keep coding,
Dawid


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
  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.2
  • Device: Mac
  • Browser: Chrome
  • OS: Mac
  • Provided sample code: No
  • Provided link: No