Sean, this line is taken straight from `LocaleId.fromJavaName(String locale)`. Not sure if this is the better way you are referring to.