Adding the ability to set and get locale

This pull will add the ability to set and get locale to system settings.  
This is not allgined with .h, should be `std::string locale_str`