Localization bug fixies; getLocaleValue method