Locale

Adding support for locale settings. Fixes #1 

...work in progress!