l10n getLocale method