Internationalisation

Internationalisation

nessinitsnessinits Posts: 86Questions: 27Answers: 0

Is it possible to make an internationalisation file for the editor and for the default validation messages, just like it's possible for the datatable?

If not:This is a feature request and I would gladly help with the dutch translation.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,452Questions: 1Answers: 10,055 Site admin
    Answer ✓

    Sort of... Editor won't load language information from an Ajax request like DataTables will I'm afraid, but it will you can make that Ajax request yourself and then initialise Editor with it:

    $.ajax( {
      url: '/get/language/information',
      dataType: 'json',
      success: function ( json ) {
        editor = new $.dataTable.Editor( {
          language: json,
          ....
        } );
      }
    } );
    

    Regards,
    Allan

This discussion has been closed.