Support JSONC locale files and update i18n handling #4
Reference in New Issue
Block a user
Delete Branch "feature/change-language-json-to-jsonc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@std/jsoncas a dependency indeno.jsoncanddeno.lock.jsoncfiles with comments.jsonto.jsoncand add inline commentsjsoncfilesThis change enables the i18n module to load translation files written in JSONC format, allowing for inline comments and improved readability. The
@std/jsonclibrary is added as a dependency and used to parse both JSON and JSONC files. The loader prioritizes.jsoncfiles when both.jsonand.jsoncexist. VSCode settings are updated to use the Deno formatter for JSONC files. Locale files are renamed and enhanced with comments for clarity.