ec-jrc / re3gistry

Re3gistry is a reusable open source solution for managing and sharing ‘reference codes’, ensuring semantic interoperability across organisations.
European Union Public License 1.2
29 stars 21 forks source link

Text strings from DataTables should be displayed in the chosen language as well (public front web app) #113

Closed heidivanparys closed 8 months ago

heidivanparys commented 2 years ago

See screenshot below: the values displayed by DataTables are shown in English, whereas the chosen language in this case was Danish.

image

The text strings from DataTables should be localized as well. Fx for Danish that would be:

$('.table').DataTable( {
        "language": {
            "url": "https://cdn.datatables.net/plug-ins/1.11.3/i18n/da.json"
        },
        "...": "..."
    } );

A quick search shows that changes probably would be needed around here:

https://github.com/ec-jrc/re3gistry/blob/7f929931c4976e90e98037fe1e563cb66a8129cb/dist/webapp/public_html/js/app_core.js#L127-L139

arantzaetxebarria commented 8 months ago

The issue is closed as it is related to https://github.com/ec-jrc/re3gistry/issues/212