first implementation of LocaleHelper to determine correct locale
first implementation of LocaleHelper to determine correct locale