Skip to content

Recognize other subtags in language tags

The badge's lang parameter currently understands exactly the codes en, de, and ru. If you try lang=en-US, it won't work. We should try looking up the whole string first, and if that fails, apply the regex /^(\w+)/ and look that up.

https://en.wikipedia.org/wiki/IETF_language_tag#Syntax_of_language_tags

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information