- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getCountry (0.07 sec)
-
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
return true; } if (requestLocale == null || !requestLocale.getLanguage().equals(targetLocale.getLanguage()) || targetLocale.getCountry().length() > 0 && !requestLocale.getCountry().equals(targetLocale.getCountry())) { return false; } return true; } /** * Returns a set of matched label values. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
// Verify assertTrue(result.isPresent()); Locale locale = result.get(); assertEquals("no", locale.getLanguage()); assertEquals("NO", locale.getCountry()); assertEquals("NY", locale.getVariant()); } // Test findBusinessLocale with case sensitivity public void test_findBusinessLocale_withMixedCase() { // Setup mock config
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
public String getPagePath(final String page) { final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); final String lang = locale.getLanguage(); final String country = locale.getCountry(); final String pathLC = getLocalizedPagePath(page, lang, country); final String pLC = pageCacheMap.get(pathLC); if (pLC != null) { return pLC; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
} return normalizeQueryLanguages(Collections.list(locales).stream().map(locale -> { final String language = locale.getLanguage(); final String country = locale.getCountry(); if (StringUtil.isNotBlank(language)) { if (StringUtil.isNotBlank(country)) { return language.toLowerCase(Locale.ROOT) + "-" + country.toLowerCase(Locale.ROOT);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 86.5K bytes - Viewed (0)