Croatian translation for DataTables

  • Author: Predrag Mui?
  • Author: _hrvoj3e_
  • Author: Nikola Stjepanovi?
  • Author: igor
  • Author: Miro Sertic
Language Plug-in for Croatian

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/hr.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/hr.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/hr.js');

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

Plug-in code


{
    "emptyTable": "Nema podataka u tablici",
    "info": "Prikazano _START_ do _END_ od _TOTAL_ rezultata",
    "infoEmpty": "Prikazano 0 do 0 od 0 rezultata",
    "infoFiltered": "(filtrirano iz _MAX_ ukupnih rezultata)",
    "infoThousands": ",",
    "lengthMenu": "Prikaži _MENU_ rezultata po stranici",
    "loadingRecords": "Dohvaćam...",
    "processing": "Obrađujem...",
    "search": "Pretraži:",
    "zeroRecords": "Ništa nije pronađeno",
    "paginate": {
        "first": "Prva",
        "previous": "Nazad",
        "next": "Naprijed",
        "last": "Zadnja"
    },
    "aria": {
        "sortAscending": ": aktiviraj za rastući poredak",
        "sortDescending": ": aktiviraj za padajući poredak"
    },
    "autoFill": {
        "cancel": "Poništi",
        "fillHorizontal": "Ispuni ćelije vodoravno",
        "fillVertical": "Ispuni ćelije okomito"
    },
    "buttons": {
        "collection": "Kolekcija",
        "colvis": "Vidljivost stupca",
        "colvisRestore": "Povrati vidljivost",
        "copy": "Kopiraj",
        "copyKeys": "Pritisni ctrl ili % + C da kopiraš podatke iz tablice u međuspremnik.  Da odustaneš, pritisni ovu poruku ili pritisni ESC.",
        "copySuccess": {
            "_": "Kopirano je %ds redova u međuspremnik",
            "1": "Prvi redak je kopiran u međuspremnik"
        },
        "copyTitle": "Kopiraj u Međuspremnik",
        "csv": "CSV",
        "excel": "Excel",
        "pdf": "PDF",
        "print": "Isprintaj",
        "pageLength": {
            "-1": "Prikaži sve redove",
            "_": "Prikaži %d redova",
            "1": "Prikaži 1 red"
        },
        "removeState": "Ukloni",
        "renameState": "Preimenuj",
        "updateState": "Ažuriraj"
    },
    "searchPanes": {
        "collapse": [
            "Pretra"
        ],
        "clearMessage": "Obriši sve",
        "emptyPanes": "Nema okna za pretraživanje",
        "loadMessage": "Učitavanje okna za pretraživanje...",
        "title": "Filtera aktivno - %d",
        "showMessage": "Prikaži sve",
        "collapseMessage": "Sažmi sve"
    },
    "select": {
        "cells": {
            "_": "%d ćelija odabrano",
            "1": "1 ćelija odabrana"
        },
        "columns": {
            "_": "%d stupaca odabrano",
            "1": "1 stupac odabran"
        },
        "rows": {
            "1": "1 red odabran",
            "_": "%d redova odabrano"
        }
    },
    "searchBuilder": {
        "add": "Dodaj uvjet",
        "button": {
            "0": "Graditelj pretraživanja",
            "_": "Graditelj pretraživanja (%d)"
        },
        "clearAll": "Obriši sve",
        "conditions": {
            "date": {
                "after": "Nakon",
                "between": "Između",
                "empty": "Prazno",
                "equals": "Jednako",
                "not": "Ne",
                "notBetween": "Nije između",
                "notEmpty": "Nije prazno",
                "before": "Prije"
            },
            "number": {
                "between": "Između",
                "empty": "Prazno",
                "equals": "Jednako",
                "gt": "Veće od",
                "gte": "Veće ili jednako od",
                "lt": "Manje od",
                "lte": "Manje ili jednako od",
                "not": "Ne",
                "notBetween": "Nije između",
                "notEmpty": "Nije prazno"
            },
            "string": {
                "contains": "Sadrži",
                "empty": "Prazno",
                "endsWith": "Završava sa",
                "equals": "Jednako",
                "not": "Ne",
                "notEmpty": "Nije prazno",
                "startsWith": "Počinje sa",
                "notContains": "Ne sadrži",
                "notStartsWith": "Ne počinje sa",
                "notEndsWith": "Ne završava sa"
            },
            "array": {
                "equals": "Jednako je",
                "empty": "Prazno",
                "contains": "Sadrži",
                "not": "Ne",
                "notEmpty": "Nije prazno",
                "without": "Bez"
            }
        },
        "data": "Podatak",
        "deleteTitle": "Obriši pravilo za filtriranje",
        "logicAnd": "I",
        "logicOr": "ILI",
        "title": {
            "0": "Graditelj pretraživanja",
            "_": "Graditelj pretraživanja (%d)"
        },
        "value": "Vrijednost",
        "condition": "Uvjet"
    },
    "datetime": {
        "previous": "Prethodno",
        "hours": "Sati",
        "minutes": "Minute",
        "seconds": "Sekunde",
        "unknown": "Nepoznat",
        "amPm": [
            "AM",
            "PM"
        ],
        "next": "Sljedeće",
        "months": [
            "siječanj",
            "veljača",
            "ožujak",
            "travanj",
            "svibanj",
            "lipanj",
            "srpanj",
            "kolovoz",
            "rujan",
            "listopad",
            "studeni",
            "prosinac"
        ],
        "weekdays": [
            "Ned",
            "Pon",
            "Uto",
            "Sri",
            "Čet",
            "Pet",
            "Sub"
        ]
    },
    "editor": {
        "close": "Zatvori",
        "create": {
            "button": "Novi",
            "title": "Dodaj novi zapis",
            "submit": "Dodaj"
        },
        "edit": {
            "button": "Uredi",
            "title": "Uredi zapis",
            "submit": "Ažuriraj"
        },
        "remove": {
            "button": "Obriši",
            "title": "Obriši",
            "submit": "Obriši",
            "confirm": {
                "_": "Jeste li sigurni da želite obrisati %d redova?",
                "1": "Jeste li sigurni da želite obrisati 1 redak?"
            }
        },
        "error": {
            "system": "Dogodila se pogreška (Više informacija)."
        },
        "multi": {
            "title": "Vrijednosti",
            "info": "Da biste uredili i postavili sve stavke za ovaj ulaz na istu vrijednost, kliknite ili dodirnite ovdje, inače će zadržati svoje pojedinačne vrijednosti.",
            "restore": "Poništi promjene",
            "noMulti": "Ovaj unos može biti uređen samostalno, ali ne kao dio grupe."
        }
    },
    "decimal": ",",
    "thousands": "."
}  

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.