I'm working on a translation pipeline for an application, and I've had to write some tooling to convert between the Underscored vs. Dashed locales (e.g. en_US vs. en-US) in order to support some downstream tooling.
I did a bit of digging, and it looks like RFC4646 specifies the use of dashes, and does not included _.
I don't mind putting together a PR to add support for dasherized locale names, however wanted to double check that this would be accepted before doing the work.
I'm working on a translation pipeline for an application, and I've had to write some tooling to convert between the Underscored vs. Dashed locales (e.g.
en_US
vs.en-US
) in order to support some downstream tooling.I did a bit of digging, and it looks like RFC4646 specifies the use of dashes, and does not included
_
.I don't mind putting together a PR to add support for dasherized locale names, however wanted to double check that this would be accepted before doing the work.
Thanks!