How to add persian language library into my project
How to add persian language library into my project
Minamrm
Posts: 3Questions: 2Answers: 0
Hi. I'm using the datatable as the table design in my project and I want all its keyword to be as persian language and for doing so I add code like the following which reads the data from the internet.
$("#myDummyTable").DataTable({
//"searching": false,
"language": {
"url": "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/Persian.json"
}
});
Now my problem is How can I add persian library in my project o read those keywords for the table from my project while the internet is disconnected.
Answers
You would just copy the CDN file into your webserver, and change the URL to point towards that,
Colib
Thank you for your answer. Is it possible to add the file into my project and I refer to it by something like URL in order to access it in my code?
Yes - that is exactly how you would do it.
Allan
فایلتو کپی کن یه پوشه و بعد از آدرس زیر بخونش: