- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for getCountry (0.06 seconds)
-
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. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.8K bytes - Click Count (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 @Test public void test_findBusinessLocale_withMixedCase() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.1K bytes - Click Count (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);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 92.3K bytes - Click Count (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; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0)