Hi,
I feel very silly because I feel I've achieved much more complicated things than that in my few days of learning Silverstripe, but I can't figure out how to return only the Language of the Locale.
For example, if the language is en_US, I want to display EN.
Does something already exists, like the .Nice format or the .RFC1766 format. (and where do I find a list of these existing formats)?
Or do I have to a php function in the Page_Controller?
(A bit of help with that too, if that's what I have to do, will be much appreciated too)
Thanks,
Julien