Open mikeploeger opened 3 years ago
Edit action.php:
Old:
'sq' => 'Albanian',
);
New:
'sq' => 'Albanian',
'en' => 'English',
);
If you want a PR @giterlizzi ?
I encountered the same problem, and came up with the same workaround. But I'm not entirely clear on what the purpose of the i18n property is. It looks like it's being used to load files that match the pattern /assets/datatables.net-plugins/i18n/en/English.lang
but there are no files at all in /assets/datatables.net-plugins/i18n
. Is all of this logic pointless, or am I misunderstanding something?
If the plugin operates under PHP8, it generates the following error on every DokuWiki Page:
PHP 8 compatibility -> "Warning: Undefined array key "en" in /lib/plugins/datatables/action.php on line 101
Are any fixes available?