- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for localize (0.04 sec)
-
src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java
} /** * Converts validation messages to a localized string representation for API responses. * Uses the request locale if available, otherwise defaults to English. * * @param validationMessagesLambda lambda function that adds validation messages * @return concatenated string of localized validation messages separated by spaces */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
/** * Retrieves the current user's locale from the request manager. * * @return the user's locale, or Locale.ROOT if not available */ private static Locale getUserLocale() { final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); if (locale == null) { return Locale.ROOT; } return locale; } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
Locale locale = ComponentUtil.getRequestManager().getUserLocale(); if (locale == null) { locale = Locale.ENGLISH; } String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class); if (url == null) { url = ComponentUtil.getMessageManager().getMessage(locale, "labels.search_unknown"); }
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/helper/SystemHelper.java
* Gets the help URL for a given base URL. * * @param url The base URL. * @return The localized help URL. */ protected String getHelpUrl(final String url) { final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); if (locale != null) { final String lang = locale.getLanguage(); if (ComponentUtil.getFessConfig().isOnlineHelpSupportedLang(lang)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java
* Returns {@link DecimalFormatSymbols}. * * @param locale * The locale. Must not be {@literal null}. * @return {@link DecimalFormatSymbols} */ public static DecimalFormatSymbols getDecimalFormatSymbols(final Locale locale) { assertArgumentNotNull("locale", locale); DecimalFormatSymbols symbols = CACHE.get(locale); if (symbols == null) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
* * @param locale * Locale. Must not be {@literal null}. * @return the pattern string for {@link DateFormat#MEDIUM} style */ public static String getMediumPattern(final Locale locale) { assertArgumentNotNull("locale", locale); return ((SimpleDateFormat) getTimeInstance(MEDIUM, locale)).toPattern(); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
* * @param locale * Locale. Must not be {@literal null}. * @return the pattern string for {@link DateFormat#MEDIUM} style */ public static String getMediumPattern(final Locale locale) { assertArgumentNotNull("locale", locale); return ((SimpleDateFormat) getDateTimeInstance(MEDIUM, MEDIUM, locale)).toPattern(); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
* * @param locale the locale (must not be {@literal null}) * @return the pattern string for {@link DateFormat#MEDIUM} style */ public static String getMediumPattern(final Locale locale) { assertArgumentNotNull("locale", locale); return ((SimpleDateFormat) getDateInstance(MEDIUM, locale)).toPattern(); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
// Execute OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager); // Verify assertTrue(result.isPresent()); Locale locale = result.get(); assertEquals("no", locale.getLanguage()); assertEquals("NO", locale.getCountry()); assertEquals("NY", locale.getVariant()); }
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/core/io/ResourceBundleUtil.java
* * @param locale the locale * @return the {@literal locale} if not {@literal null}, otherwise the default locale */ protected static Locale getLocale(final Locale locale) { if (locale != null) { return locale; } return LocaleUtil.getDefault(); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.3K bytes - Viewed (0)