internationalization - Angularjs Translate with json fille comments -
it possible use json comments organize language files? created plunkr example error on browser console "syntaxerror: unexpected token /"
{ "headline": "hello there!", /* comment*/ "lang_de_de": "lang: german", "lang_en_us": "lang: english" }
since file has valid json , json not provide comments in syntax: no, can not add comments there. it's against specification of json, sorry.
Comments
Post a Comment