French.json 2019 file

French.json 2019 file

macmicromacmicro Posts: 19Questions: 0Answers: 0

Hello,

I am French, I would like to use CDN file Json at this address
https://datatables.net/plug-ins/i18n/French

if we click on the icon it displays the file in the browser
but an error appears
SyntaxError: JSON.parse: expected property name or '}' at line 26 column 12 of the JSON data
https://cdn.datatables.net/plug-ins/1.10.19/i18n/French.json

therefore, this address can not be used in the DataTables code.

Thanks for reading me
Rey

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @macmicro ,

    I'm seeing something odd there too. I've logged it (DD-830) and I'll report back here when there's an update. In the meantime, please use the link for "1.10.16", that works as expected.

    Cheers,

    Colin

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @macmicro ,

    Just been told it's been fixed already, see here. It will be in the next release, or you could just grab that one for the time being.

    Cheers,

    Colin

  • macmicromacmicro Posts: 19Questions: 0Answers: 0

    Hello,

    Thank you for your answer indeed I use 1.10.16
    But in my previous post I tested the code online on Jsonlint

    And I corrected this code which is now valid.
    Until the next version, I will use the CDN 1.10.16

    cordially

This discussion has been closed.