Ukrainian translation for DataTables
- Author: antyrat
- Author: cguerrero73
- Author: static_tolyan
- Author: bengrey
- Author: lannahirave
Use
There are a number of ways to make use of this translation in your DataTables.
Browser loading / CDN
Loading DataTables' language information directly in the browser is done with the .json
file:
You DataTables initialisation might look like this:
var table = new DataTable('#myTable', {
language: {
url: '//cdn.datatables.net/plug-ins/2.3.2/i18n/uk.json',
},
});
ES modules
If you are using ES modules (e.g. with Vite or similar bundler), then can use the datatables.net-plugins
package (.mjs
files), which this translation is available in. In such a case your initialisation code might look like:
import DataTable from 'datatables.net';
import language from 'datatables.net-plugins/i18n/uk.mjs';
var table = new DataTable('#myTable', {
language,
});
CommonJS
If you are using CommonJS (i.e. in an older version of Node or Webpack), the translation files can be loaded in from the .js
files which will return the JSON structure for the translation (note that unlike the other DataTables plug-ins it does not return a function to be executed - just a JSON object):
var $ = require('jquery');
var DataTable = require('datatables.net')(window, $);
var language = require('datatables.net-plugins/i18n/uk.js');
var table = new DataTable('#myTable', {
language: language,
});
Plug-in code
{
"aria": {
"paginate": {
"first": "Перша",
"last": "Остання",
"next": "Наступна",
"previous": "Попередня"
}
},
"autoFill": {
"cancel": "Відміна",
"fill": "Заповнити всі клітинки з <i>%d<\/i>",
"fillHorizontal": "Заповнити клітинки горизонтально",
"fillVertical": "Заповнити клітинки вертикально",
"info": ""
},
"buttons": {
"collection": "Список <span class=\"ui-button-icon-primary ui-icon ui-icon-triangle-1-s\"><\/span>",
"colvis": "Видимість колонки",
"colvisRestore": "Відновити видимість",
"copy": "Копіювати",
"copyKeys": "Нажміть ctrl або u2318 + C щоб копіювати інформацію з таблиці до вашого буферу обміну.<br \/><br \/>Щоб відмінити нажміть на це повідомлення або Esc",
"copySuccess": {
"_": "Скопійовано %d рядків в буфер обміну",
"1": "Скопійовано 1 рядок в буфер обміну"
},
"copyTitle": "Копіювати в буфер обміну",
"csv": "CSV",
"excel": "Excel",
"pageLength": {
"_": "Показати %d рядки",
"-1": "Показати усі рядки"
},
"pdf": "PDF",
"print": "Друкувати"
},
"datetime": {
"minutes": "Хвилина",
"months": {
"0": "Січень",
"1": "Лютий",
"10": "Листопад",
"11": "Грудень",
"2": "Березень",
"3": "Квітень",
"4": "Травень",
"5": "Червень",
"6": "Липень",
"7": "Серпень",
"8": "Вересень",
"9": "Жовтень"
},
"next": "Наступні",
"previous": "Попередні",
"seconds": "Секунда",
"unknown": "-",
"weekdays": {
"0": "Неділя",
"1": "Понеділок",
"2": "Вівторок",
"3": "Середа",
"4": "Четверг",
"5": "П'ятниця",
"6": "Субота"
}
},
"decimal": "",
"editor": {
"close": "Закрити",
"create": {
"button": "Cтворити нову",
"submit": "Cтворити",
"title": "Cтворити новий запис"
},
"edit": {
"button": "Редагувати",
"submit": "Оновити",
"title": "Редагувати запис"
},
"remove": {
"button": "Видалити",
"submit": "Видалити",
"title": "Видалити"
}
},
"emptyTable": "Ця таблиця не містить даних",
"info": "Показано від _START_ по _END_ з _TOTAL_ записів",
"infoEmpty": "Показано від 0 по 0 з 0 записів",
"infoFiltered": "(відфільтровано з _MAX_ записів)",
"infoPostFix": "",
"infoThousands": ",",
"lengthMenu": "Показати _MENU_ записів",
"loadingRecords": "Завантаження",
"processing": "Опрацювання...",
"search": "Пошук:",
"searchBuilder": {
"add": "Додати умову",
"button": {
"_": "Розширений пошук (%d)",
"0": "Розширений пошук"
},
"clearAll": "Очистити все",
"condition": "Умова",
"conditions": {
"array": {
"contains": "Містить",
"empty": "Пустий",
"equals": "Дорівнює",
"not": "Не",
"notEmpty": "Не пустий",
"without": "Без"
},
"date": {
"after": "Після",
"before": "До",
"between": "Між",
"empty": "Пусто",
"equals": "Дорівнює",
"not": "Не",
"notBetween": "Не між",
"notEmpty": "Не пусто"
},
"number": {
"between": "Між",
"empty": "Пусто",
"equals": "Дорівнює",
"gt": "Більше ніж",
"gte": "Більше або дорівнює",
"lt": "Менше ніж",
"lte": "Менше або дорівнює",
"not": "Не",
"notBetween": "Не між",
"notEmpty": "Не пусто"
},
"string": {
"contains": "Містить",
"empty": "Пусто",
"endsWith": "Закінчується з",
"equals": "Дорівнює",
"not": "Не",
"notContains": "Не містить",
"notEmpty": "Не пусто",
"notEndsWith": "Не закінчується на",
"notStartsWith": "Не починається з",
"startsWith": "Починається з"
}
},
"data": "Дата",
"deleteTitle": "Видалити правило фільтрування",
"leftTitle": "Відступні критерії",
"logicAnd": "I",
"logicOr": "Або",
"rightTitle": "Відступні критерії",
"title": {
"_": "Розширений пошук (%d)",
"0": "Розширений пошук"
},
"value": "Значення"
},
"searchPanes": {
"clearMessage": "Очистити все",
"collapse": {
"_": "Пошукові Панелі (%d)",
"0": "Пошукові Панелі"
},
"collapseMessage": "Приховати всі",
"count": "{total}",
"countFiltered": "{shown} ({total})",
"emptyPanes": "Немає Пошукових Панелей",
"loadMessage": "Завантаження Пошукових Панелей",
"showMessage": "Показати всі",
"title": "Активній фільтри - %d"
},
"searchPlaceholder": "",
"select": {
"cells": {
"_": "%d клітинок вибрано",
"0": "",
"1": "1 клітинку вибрано"
},
"columns": {
"_": "%d колонок вибрано",
"0": "",
"1": "1 колонку вибрано"
},
"rows": {
"0": ""
}
},
"thousands": ",",
"zeroRecords": "Не знайдено жодних записів"
}
Contributing
If you have any ideas for how this plug-in can be improved please go to the translations plug-ins page and click the Contribute button to submit corrections and additions.