Kurdish translation for DataTables

  • Author: Aram Rafeq
  • Author: Diyare Abdullah Omer
  • Author: Payman Valizadeh
Language Plug-in for Kurdish

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:

JS

You DataTables initialisation might look like this:

var table = new DataTable('#myTable', {
    language: {
        url: '//cdn.datatables.net/plug-ins/2.0.3/i18n/ku.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/ku.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/ku.js');

var table = new DataTable('#myTable', {
    language: language,
});

Plug-in code


{
    "emptyTable": "هیچ تۆمارێک نەدۆزرایەوە",
    "processing": "تکایە چاوەرێکە...",
    "lengthMenu": "نیشانبدە _MENU_ تۆمارەکان",
    "zeroRecords": "هیچ تۆمارێک نەدۆزرایەوە",
    "info": "نیشاندانی _START_ لە _END_ کۆی _TOTAL_ تۆمار",
    "infoEmpty": "نیشاندانی 0 لە 0 لە کۆی 0 تۆمار",
    "infoFiltered": "(پاڵێوراوە لە کۆی _MAX_ تۆمار)",
    "search": "گەران:",
    "paginate": {
        "first": "یەکەم",
        "last": "کۆتایی",
        "next": "دواتر",
        "previous": "پێشتر"
    },
    "aria": {
        "sortAscending": ": چاڵاککردن بۆ ریزکردنی سەر بەرەو ژوور",
        "sortDescending": ": چاڵاککردن بۆ ریزکردنی سەر بەرەو خوار"
    },
    "autoFill": {
        "cancel": "پاشگەزبوونەوە",
        "fill": "پڕكردنەوە",
        "fillHorizontal": "پڕكردنەوەى خانەكان بە شێوەى ئاسۆیی",
        "fillVertical": "پڕكردنەوەى خانەكان بە شێوەى ستونى",
        "info": "زانیارى"
    },
    "buttons": {
        "copy": "لەبەرگرتنەوە",
        "copyTitle": "لەبەرگرتنەوە بۆ كلیپبۆرد",
        "excel": "ئێكزڵ",
        "print": "چاپكردن",
        "collection": "کۆکردنەوە",
        "colvis": "ستوونەکان",
        "colvisRestore": "گەڕاندنەوەی ستوونەکان",
        "copyKeys": "لەبەرگرتنەوە",
        "csv": "csv",
        "pdf": "فۆرماتێکی pdf"
    },
    "loadingRecords": "وەرگرتنى تۆمارەکان...",
    "thousands": "هەزاران",
    "datetime": {
        "previous": "پێشتر",
        "next": "دواتر",
        "hours": "كاتژمێر",
        "minutes": "دەقیقە",
        "seconds": "سانیە",
        "unknown": "نەزانراو",
        "weekdays": [
            "یەك شەممە",
            "دوو شەممە",
            "سێ شەممە",
            "چوار شەممە",
            "پێنج شەممە",
            "هەینى",
            "شەممە"
        ],
        "months": [
            "ژانواری",
            "برواری",
            "مارجه",
            "ئاپرل",
            "مای",
            "ژونه",
            "ژولی",
            "ئائوگوست",
            "سه‌پته‌مبه‌ر",
            "ئۆجتۆبه‌ر",
            "نۆڤه‌مبه‌ر",
            "ده‌جه‌مبه‌ر"
        ]
    },
    "editor": {
        "close": "داخستن"
    },
    "decimal": "دەهەمی",
    "infoThousands": ",",
    "searchPlaceholder": "شوێنگرەوەی گەڕان"
}  

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.