{hero}

i18n

Since: Editor 1.0

Language configuration options for Editor.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

All strings that Editor uses in its user interface are defined in this object, allowing you to modified them individually or completely replace them all as required. This ensures that Editor is fully internationalisable as strings for any language can be used.

For information about each individual parameter that can be configured, please see its documentation document (links in the Related section below).

Please note that many of the strings that Editor displays to the end user are used as part of the Buttons buttons that Editor provides. The options in i18n.create, i18n.edit and i18n.remove are all used only when the Buttons extension (or TableTools for legacy installations) is also used. If you are not using Buttons, these options will have no effect on Editor. In such a case, the strings that the user sees can be set using the API, such as title() and buttons().

The default language options for Editor are shown below for reference.

{
    "create": {
        "button": "New",
        "title":  "Create new entry",
        "submit": "Create"
    },

    "edit": {
        "button": "Edit",
        "title":  "Edit entry",
        "submit": "Update"
    },

    "remove": {
        "button": "Delete",
        "title":  "Delete",
        "submit": "Delete",
        "confirm": {
            "_": "Are you sure you wish to delete %d rows?",
            "1": "Are you sure you wish to delete 1 row?"
        }
    },

    "error": {
        "system": "A system error has occurred (More information)"
    },

    "multi": {
        "title": "Multiple values",
        "info": "The selected items contain different values for this input. To edit and set all items for this input to the same value, click or tap here, otherwise they will retain their individual values.",
        "restore": "Undo changes",
        "noMulti": "This input can be edited individually, but not part of a group."
    },

    "datetime": {
        "previous": 'Previous',
        "next":     'Next',
        "months":   [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ],
        "weekdays": [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' ],
        "amPm":     [ 'am', 'pm' ],
        "unknown":  '-'
    }
}