Scratch Translate Extension Languages Optimizer

scratch-translate-extension-languages is a package generating a JSON object used by the Scratch VM to localize the names of languages, and find the language codes (identifiers) for those languages. It contains a lot of redudant keys and info. While ~160 kilobytes is nothing for modern browsers, the low-power systems supported by SE! may benefit from optimizations to the file. This page will convert it into a more concise, index-based format that takes the same amount of effort to read, but takes up much less precious storage space! Do note, however, the optimized version is incompatible with the normal version, and thus will break any code expecting the normal version!

Output: