Datetime language Translation

Datetime language Translation

dna2727dna2727 Posts: 2Questions: 0Answers: 0

Hello,
https://datatables.net/extensions/datetime/examples/integration/datatables
min.date and max.date box
How can I change the language of the calendar box that opens here.

Language Turkish.

Replies

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @dna2727 ,

    You can use the turkish translation plugin to do this. It does have some translations for datetime, but there are a few missing... You can add to the json to fill these in. Use the language.url option to add it to your table.

    You can contribute to the language for the missing translations here. If you fill in the form there for turkish I will get the translations added so that others can use them as well!

    Thanks,
    Sandy

  • dna2727dna2727 Posts: 2Questions: 0Answers: 0

    Hello there ,
    Thank you for your attention.
    It's ok to use it for datatables.
    But I am looking for Datetime.
    Your referral
    I adapted in the translation
    https://dnatasarim.org/turkish.json
    "language": {
    "url": "https://dnatasarim.org/turkish.json"
    }
    I could not include
    error

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @dna2727 ,

    That seems to be a CORS issue rather than a datatables problem... Try reading through this page to see if you find a fix.

    Thanks,
    Sandy

Sign In or Register to comment.