File: language.xml

package info (click to toggle)
datatables.js 1.11.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 22,848 kB
  • sloc: javascript: 65,075; xml: 10,712; php: 4,741; sh: 544; makefile: 18
file content (67 lines) | stat: -rw-r--r-- 3,329 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8" ?>
<dt-option group="i18n">
	<name>language</name>
	<summary>Language configuration options for DataTables</summary>
	<since>1.10</since>

	<type type="object" />

	<description>
		All strings that DataTables 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 DataTables is fully internationalisable as strings for any language can be used.

		The default language options for DataTables are shown below for reference. Additionally there are a wide range of translations readily available on this site, in the [internationalisation plug-ins](//datatables.net/plug-ins/i18n).

		The following is the default object that DataTables uses for its language strings (for information about each individual parameter, please see its individual documentation document):

		```js
		{
		    "decimal":        "",
		    "emptyTable":     "No data available in table",
		    "info":           "Showing _START_ to _END_ of _TOTAL_ entries",
		    "infoEmpty":      "Showing 0 to 0 of 0 entries",
		    "infoFiltered":   "(filtered from _MAX_ total entries)",
		    "infoPostFix":    "",
		    "thousands":      ",",
		    "lengthMenu":     "Show _MENU_ entries",
		    "loadingRecords": "Loading...",
		    "processing":     "Processing...",
		    "search":         "Search:",
		    "zeroRecords":    "No matching records found",
		    "paginate": {
		        "first":      "First",
		        "last":       "Last",
		        "next":       "Next",
		        "previous":   "Previous"
		    },
		    "aria": {
		        "sortAscending":  ": activate to sort column ascending",
		        "sortDescending": ": activate to sort column descending"
		    }
		}
		```

		As of DataTables 1.10.7 the new `dt-api i18n()` method can be used by plug-in authors to access language information from the `dt-init language` object. As such the list of parameters available here is not exhaustive - please refer to the documentation for the plug-in if it makes use of the `dt-api i18n()` method for full information about the parameters it can use.
	</description>

	<related type="option">language.decimal</related>
	<related type="option">language.emptyTable</related>
	<related type="option">language.info</related>
	<related type="option">language.infoEmpty</related>
	<related type="option">language.infoFiltered</related>
	<related type="option">language.infoPostFix</related>
	<related type="option">language.thousands</related>
	<related type="option">language.lengthMenu</related>
	<related type="option">language.loadingRecords</related>
	<related type="option">language.processing</related>
	<related type="option">language.search</related>
	<related type="option">language.zeroRecords</related>
	<related type="option">language.paginate</related>
	<related type="option">language.paginate.first</related>
	<related type="option">language.paginate.last</related>
	<related type="option">language.paginate.next</related>
	<related type="option">language.paginate.previous</related>
	<related type="option">language.aria</related>
	<related type="option">language.aria.sortAscending</related>
	<related type="option">language.aria.sortDescending</related>
	<related type="api">i18n()</related>
</dt-option>