Datapicker not translating to selected language (remains in English)

Datapicker not translating to selected language (remains in English)

magnomouramagnomoura Posts: 2Questions: 1Answers: 0
edited July 17 in Free community support

I'm experiencing an issue with the datepicker functionality within DataTables. Despite configuring DataTables to use a specific language (e.g., Portuguese), the datepicker itself remains in English.

Interestingly, other extensions, such as ColumnControl, are translating correctly to the chosen language without any problems. This suggests that the general language configuration for DataTables is working as expected, but the datepicker component isn't picking up the localization settings.

I've ensured that the necessary language files for DataTables and its extensions (including those for the datepicker, if applicable) are loaded. I'm looking for guidance on how to properly localize the datepicker so it reflects the selected language.

SearchBuilder example Japan languague:

columnControl example Japan language:

Answers

  • allanallan Posts: 64,756Questions: 1Answers: 10,716 Site admin

    I've created a little test case which shows this error: https://live.datatables.net/vevabeqo/1/edit . Thanks for letting me know about it - I'll look into it and let you know when it is resolved.

    Allan

  • magnomouramagnomoura Posts: 2Questions: 1Answers: 0

    Thanks for the feedback.

    Sorry for not leaving a test case.

    In the future, I'll follow the instructions closely.

  • allanallan Posts: 64,756Questions: 1Answers: 10,716 Site admin

    I've committed fixes (1 and 2) to address this issue and the test case is working now.

    As you'll see it needs an update to both DataTables core and SearchBuilder. I'll aim to get both released in the next few weeks.

    Allan

Sign In or Register to comment.