array I18Nv2::locales2langs (
array $locales
)
Transforms locale codes like en_US and de_DE to language codes like en-US and de-DE.
$locales
array of locale codes
Returns array transformed loclae codes as language codes.
This function should be called statically.
See also I18Nv2::langs2locales().