mockup
mockup copied to clipboard
Study a way to add i18n to datatables mockups
- Add translation plugin (https://www.npmjs.com/package/datatables.net-plugins);
- Check if translation files are already included on plugin;
- Pass the 'language' option (as per datatable docs) in the parameter to the Datatable constructor
Ref: https://community.plone.org/t/are-strings-from-datatables-net-resource-in-plone-staticresources-1-4-x-translatable-in-a-plone-5-2-installation-if-so-how-to-do-it/15907