Perhaps there would be a new need for a module be created called “Localization”.
I have spent a few minutes creating a module to let you get the raw system locale (you will have to interpret it with custom rules in your program).
Basically it depends on this: http://www.cplusplus.com/reference/clocale/setlocale/
But of course the module will have to properly designed and planned so it contains various useful features and a reasonable API. We can throw a bunch of high level ideas and then use them as a placeholder for implementation.