Reduced get_locale overhead
Removed local variable
Merge pull request #37 from mdxs/improve_get_locale_efficiency

Reduced get_locale overhead