Add LocaleTrait to reduce code duplication
Merge pull request #393 from giosh94mhz/locale_traits

Add LocaleTrait to reduce code duplication