Closed
![@ghost](https://github.com/ghost.png?size=80)
Description
I discovered this issue when I was playing around with langswitcher plugin. I noticed that xx-xx
style locales doesn't show up on front-end and after further investigation in this topic @rhukster pointed me to this:
Grav\Common\Languages\LanguageCodes::getNames()
only knows how to lookup xx
style language codes. This would have to be improved to support xx-xx
styles too.
https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Language/LanguageCodes.php