locale - fix for non-existent method
Merge pull request #2145 from tstrachota/locale_fix

locale - fix for non-existent method