added method to update language from localized strings.