Language Options Suggestion

Language Options Suggestion

insatriinsatri Posts: 6Questions: 2Answers: 0

Hi,

Recently I worked on some of my old code and noticed that my language options were not being displayed correctly.
What I have done was to load a language file with AJAX and as per https://datatables.net/plug-ins/i18n/
And then provided extra language options to add context like replacing the default message about empty table with "there are books for your search parameters". These changes would not display because in the source code the language file is loaded last and overrides any changes made. I suggest that this happens in the opposite order so the above would load the language from the file and then override extra stuff for context or whatever other reason.

Please let me know what you think!

Replies

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    Agreed. This is already on the list of changes that I'll be making for v2!

    Allan

This discussion has been closed.