Namespace: i18n

Ancestry: Editor » .defaults. » i18n

DataTables Editor v1.2.4 documentation

Navigation

Hiding private elements (toggle)
Showing extended elements (toggle)

Internationalisation options for Editor. All client-side strings that the end user can see in the interface presented by Editor can be modified here.

You may also wish to refer to the DataTables internationalisation options to provide a fully language customised table interface.

Examples

   // Set the 'create' button text. All other strings used are the
   // default values.
   var editor = new $.fn.Editor( {
     "ajaxUrl": "data/source",
     "domTable": "#example",
     "i18n": {
       "create": {
         "button": "New user"
       }
     }
   } );

 
   // Set the submit text for all three actions
   var editor = new $.fn.Editor( {
     "ajaxUrl": "data/source",
     "domTable": "#example",
     "i18n": {
       "create": {
         "submit": "Create new user"
       },
       "edit": {
         "submit": "Update user"
       },
       "remove": {
         "submit": "Remove user"
       }
     }
   } );

Summary

Namespaces

create

Strings used when working with the Editor 'create' action (creating new records).

edit

Strings used when working with the Editor 'edit' action (editing existing records).

error

Strings used for error conditions.

remove

Strings used when working with the Editor 'delete' action (deleting existing records).