I am using 'oLanguage' option when initializing my datatable, and the translations work great for all cases, except when there are no returned records (iTotalDisplayRecords = 0). What could be the cause of this behavior?
Yeah, I set it, and sZeroRecords label also works fine. The 'i' part of sDOM does not get translated when zero records are returned, and it shows the information in English which is default:
"Showing 0 to 0 of 0 entries".
If I use sEmptyTable it is just shown in preference to sZeroRecords, as specified in documentation. However, the default 'i' string remains: "Showing 0 to 0 of 0 entries"
ah, I have found the problem. There is a bug in Croatian translation on http://datatables.net/plug-ins/i18n. It says: "sInfoEmtpy" instead of "sInfoEmpty".
Replies
Allan
"Showing 0 to 0 of 0 entries".
Allan
Allan