Changes to process the correct locale type.
Merge pull request #143 from e-cuellar/master

Changes to process the correct locale type.