Closed estebes closed 3 years ago
Hello @estebes can you please elaborate the reason you use underscores instead of dashes? Something or someone push you to do way like that?
A bit of background. I would say using dashes is more like requirement. Values from i18n.AvailableLanguages key are parsed with strict rules defined here and then used here. These rules based on general naming conventions for language tags
@turquoiseowl I think this issue can be closed as no response from @estebes and reasons to use underscores unclear.
OK, closing. Please re-open is still an issue.
When specifying available languages using underscores
An exception is thrown the first a web page is opened
Changing the specified available languages to use a dash solves the problem
Although this is not a big issue it is annoying for people like me that are used to use the underscore when choosing a name for lang file (en_US, pt_PT, de_DE, etc)