When you configure a locale in your site definition you can set the language code such as "pt" for Portuguese and the country code such as "BR" for Brazil but you cannot set the language name. Magnolia extends java.util.Locale which provides all the language names such as "Portuguese (Brazil)" and their translations. We don't store language names in Magnolia resource bundles so they are not configurable as far as I know.
https://documentation.magnolia-cms.com/display/DOCS/Language+configuration#Languageconfiguration-3.Definelocalesinsite If you wanted to display the code "en" instead of the language name I believe you would have to extend the LanguageSelector which builds the dropdown. https://git.magnolia-cms.com/projects/MODULES/repos/pages/browse/magnolia-pages-app/src/main/java/info/magnolia/pages/app/editor/pagebar/languageselector -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=166cc543-df7d-4561-a6b0-ec09d5da004f ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------