Ability to retrieve locale string in long and short format

I know, it isn't necessary anymore, but could still be useful sometime.