Grid.js has support for multiple languages. Import your language file first:
gridjs/dist/gridjs.lang.es refers to the file format (ECMAScript). All language files are combined into one file.
There is a UMD format for web-browsers as well:
Then pass it to the
language setting of your Grid.js:
You can find a list of supported languages here https://github.com/grid-js/gridjs/tree/master/packages/gridjs/src/i18n
Also, you can easily customize Grid.js messages and add your language. Simply extend the
language config to replace the strings:
See en_US for a full list of messages.