Django ezTable embed DataTables localizations.
They have the following naming convention:
{{STATIC_URL}}/js/libs/datatables/language.{{LANG}}.json
You can simply retrieve them with django.js:
$('#my-table').dataTable({
...
"oLanguage": {
"sUrl": Django.file("js/libs/datatables/language.fr.json")
}
...
});
You can obtain the current language code with django.js too:
var code = Django.context.LANGUAGE_CODE;
Be careful, no localization is provided for the English language.