Reputation: 2607
I'm unable to change the previous and next text in Arabic using
"paginate" : {
"next" : " "
}
How can I change the number format of pages to Arabic format?
Upvotes: 0
Views: 552
Reputation: 31
To change the text into a language you want just put this code in the datatable init:
table.DataTable({
"language": {
"paginate": {
"first": "الصفحة الأولى",
"last": "الصفحة الأخيرة",
"next": "التالي",
"previous": "السابق",
}
}
});
and that's how you change the language of these texts: changed text example
and if you want to change the number format you can find the answer in the following link: change pagination number format
Upvotes: 1