merged datasource locale implementation from magma-1.5.x
Merge pull request #26 from kazoompa/master

Merged datasource locale implementation from magma-1.5.x