mrohnstock / datatables-plugins

Shim repository for http://github.com/DataTables/Plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comments in lang files

xvonabur opened this issue · comments

Hello! According to DataTables/Plugins#131 and DataTables/Plugins#18, we can't use lang files out the box, because of the comments. It's not convenient to install bower package, copy a file and remove comments in order to use it with datatables. Maybe it's time to remove comments from lang files?

P.S. By the way, CDN .json lang files doesn't have them and they perfectly work.
P.P.S. I can send a pull request with comments removed.

👍 Yes. I had to remove comments manually too, and then works fine.

And maybe add a i18n/README.md file with authors.

c23e47f I've created a small bashscript, which will create these required json-language files out of the lang-files for every new release.