vue3-easy-data-table
vue3-easy-data-table copied to clipboard
Doc - Footer translation
I don't find it easily in the doc, so I post it here.
You can translate footer by adding props in the component like:
<template>
<EasyDataTable
:headers="headers"
:items="items"
rowsPerPageMessage="Lignes par page"
rowsOfPageSeparatorMessage="de"
/>
</template>
Hope that's helped someone
PROPS are available at:
node_modules/vue3-easy-data-table/dist/vue3-easy-data-table.es.js
And then it can be used as a reference to know which PROPS to use and how to use them.
Here is an example in Brazilian:
<template>
<EasyDataTable
:headers="headers"
:items="items"
alternating
buttons-pagination
rowsPerPageMessage="Linhas por páginas"
rowsOfPageSeparatorMessage="de"
emptyMessage="Sem dados para exibir!"
/>
</template>