Adding the ability to set and get locale

This pull will add the ability to set and get locale to system settings.  
ditto, declare as close as first use. value can be defined only in LOCALE case.