Rename language files

Rename language files

princeofnaxosprinceofnaxos Posts: 26Questions: 9Answers: 0

The language files are called Dutch.json, German.json etc. Since I assume that most developers like to use ISO 639-1 codes, I suggest that the i18n files are renamed to nl.json, de.json, etc. Or even better: nl_NL.json, de_DE.json, etc.

This way, we can use

language    : {
      url : locale + '.json'
},

in our code.

Replies

  • allanallan Posts: 63,813Questions: 1Answers: 10,516 Site admin

    Yes, this is planned, although it will likely happen with the next major version of DataTables, since the plug-ins are released in step with DataTables.

    Allan

This discussion has been closed.