Date and export language

How can I change the date picker language to spanish? I’ve tried changing the language and it works for everything except the date picker. Also, when I export to csv, I want to be able to change the way that it displays boolean data, it alredy prints TRUE or FALSE depending on the table, but I want to change this to spanish. Thank you :slight_smile:

Hi @marcojulioarg

thanks for sharing this question.

Apparently we have forget to share an option to change the data picker language. However, what ou can do now is to access the datePickerConfig. Here are the docs for the data picker https://github.com/dbushell/Pikaday#internationalization

i18n: {
    previousMonth : 'Previous Month',
    nextMonth     : 'Next Month',
    months        : ['January','February','March','April','May','June','July','August','September','October','November','December'],
    weekdays      : ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],
    weekdaysShort : ['Sun','Mon','Tue','Wed','Thu','Fri','Sat']
}

When it comes to the export to .csv feature it can only print values that are in your data. We are not able to modify the table to show custom renderers, meta data or styling in the csv file.

OMG you just solved a three month old problem, thank you very much :heart_eyes:

Hi @marcojulioarg

you shouldn’t wait so long :slight_smile: feel free to ask anything if needed.