{ "cells": [ { "cell_type": "markdown", "id": "17e67564", "metadata": {}, "source": [ "# Custom Extensions\n", "\n", "## Internationalisation" ] }, { "cell_type": "code", "execution_count": 1, "id": "7296f47b", "metadata": {}, "outputs": [], "source": [ "from itables import show\n", "from itables.sample_dfs import get_countries\n", "\n", "df = get_countries(html=False)" ] }, { "cell_type": "markdown", "id": "64de901f", "metadata": {}, "source": [ "DataTables controls can use a different language than English. To\n", "display the table controls in another language, go to the [internationalisation](https://datatables.net/plug-ins/i18n/)\n", "plug-ins page and find the language URL, like e.g." ] }, { "cell_type": "code", "execution_count": 2, "id": "f1ba2d0f", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | region | \n", "country | \n", "capital | \n", "longitude | \n", "latitude | \n", "
---|---|---|---|---|---|
code | \n", "\n", " | \n", " | \n", " | \n", " | \n", " |
\n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the internet...\n",
"(need help?) | \n",
"\n",
"