You may want to look at creating a plugin for sorting polish characters. I'd imagine it would be fairly similar to this one for czech characters. If you would like, you can submit a pull request with the any plugin that you create here.
It is the international sorting plugin. Depending on the user language I use it to sort according to German "phonebook" rules or English UK.
//sorting:
//Use the phonebook variant of the German sort order,
//which expands umlauted vowels to character pairs: ä → ae, ö → oe, ü → ue.
if (lang === 'de') {
$.fn.dataTable.ext.order.intl("de-DE-u-co-phonebk");
} else {
$.fn.dataTable.ext.order.intl("en-GB");
}
What I know also works is "de-AT" and "de". So for Polish I would try with "pl-PL" or just with "pl".
Somewhere there is a list of the supported languages. I happened to find my prefered sorting for German by chance. Good luck!
Answers
Hi @scorpion10 ,
You may want to look at creating a plugin for sorting polish characters. I'd imagine it would be fairly similar to this one for czech characters. If you would like, you can submit a pull request with the any plugin that you create here.
Thanks,
Sandy
I think that already exists ...
https://datatables.net/plug-ins/sorting/intl
And here is a blog post by Allan:
https://datatables.net/blog/2017-02-28
It is the international sorting plugin. Depending on the user language I use it to sort according to German "phonebook" rules or English UK.
What I know also works is "de-AT" and "de". So for Polish I would try with "pl-PL" or just with "pl".
Somewhere there is a list of the supported languages. I happened to find my prefered sorting for German by chance. Good luck!