Afrikaans translation for DataTables

  • Author: Ajoft Software
  • Author: Allan
  • Author: Rory Grenfell
  • Author: Kobus Myburgh
Language Plug-in for Afrikaans

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

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

Plug-in code


{
    "infoThousands": ",",
    "paginate": {
        "first": "eerste",
        "last": "laaste",
        "next": "volgende",
        "previous": "vorige"
    },
    "aria": {
        "sortAscending": ": aktiveer kolom om stygend te sorteer",
        "sortDescending": ": aktiveer kolom om dalend te sorteer"
    },
    "buttons": {
        "csv": "CSV",
        "excel": "Excel",
        "pdf": "PDF",
        "print": "Druk",
        "collection": "Versameling <span class=\"ui-button-icon-primary ui-icon ui-icon-triangle-1-s\"><\/span>",
        "colvis": "Kolom Sigbaarheid",
        "copy": "Kopieër",
        "copyKeys": "Druk <i>ctrl<\/i> of <i>u2318<\/i> + <i>C<\/i> om die tabel data to kopieër na jou knipbord.<br><br>Om te kanselleer, druk Escape.",
        "copySuccess": {
            "1": "1 ry gekopieër na knipbord",
            "_": "%ds rye gekopieër na knipbord"
        },
        "copyTitle": "Kopieër na knipbord",
        "pageLength": {
            "-1": "Wys alle rye",
            "1": "Wys 1 ry",
            "_": "Wys %d rye"
        },
        "createState": "Skep Staat",
        "removeAllStates": "Verwyder Alle State",
        "removeState": "Verwyder",
        "renameState": "Hernoem",
        "savedStates": "Gestoorde State",
        "stateRestore": "Staat %d",
        "updateState": "Dateer op",
        "colvisRestore": "Herwin Sigbaarheid"
    },
    "searchBuilder": {
        "add": "Voeg by",
        "clearAll": "Alles uitvee",
        "condition": "Voorwaardes",
        "data": "Data"
    },
    "autoFill": {
        "cancel": "kanselleer",
        "fillHorizontal": "Vul selle horisontaal",
        "fillVertical": "Vul selle vertikaal",
        "fill": "Vul alle selle met  <i>%d<i><\/i><\/i>"
    },
    "emptyTable": "Geen data in tabel nie",
    "info": "Wys _START_ tot _END_ uit _TOTAL_ rye",
    "infoEmpty": "Wys 0 tot 0 uit 0 rye",
    "infoFiltered": "(gefiltreer uit _MAX_ totale rye)",
    "lengthMenu": "Wys _MENU_ rye",
    "loadingRecords": "Besig om te laai...",
    "processing": "Besig om te verwerk...",
    "search": "Soek:",
    "searchPlaceholder": "Plekhouer",
    "thousands": ",",
    "zeroRecords": "Geen gepaste rye gevind nie"
}  

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.