Adding the ability to set and get locale

This pull will add the ability to set and get locale to system settings.  
* `l` is too simple var, please use meanful word.
* localVar - > local_var,