ISO 639-2 (alpha 3) language codes, and the reserved four-letter locale initial position should be supported for underscore to hyphen conversion.
Created attachment 19136 [details] Proposed patch, v1.0
Comment on attachment 19136 [details] Proposed patch, v1.0 Seems OK. What are some actual language codes we can test this with. Do we know what this does to website compatibility? No change log. No regression tests. Need to find a way to regression-test this. Formatting does not match style guide: single line if statements should not have braces. Fix seems fine with some minor problems. Benefit also seems small unless there's some actual language code that's going to come up in practice, so setting to review- to get the minor problems fixed.