Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for _locale_ (0.04 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            // Test with various locale configurations
            Locale[] testLocales = { Locale.US, Locale.UK, Locale.CANADA, Locale.FRANCE, Locale.CHINA, Locale.KOREA, new Locale("es", "ES"),
                    new Locale("pt", "BR") };
    
            for (Locale locale : testLocales) {
                OptionalThing<String> result = provider.determineAlias(locale);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                        @Override
                        public List<Map<String, String>> load(final String key) throws Exception {
                            final ULocale uLocale = new ULocale(key);
                            final Locale displayLocale = uLocale.toLocale();
                            final List<Map<String, String>> langItems = new ArrayList<>(supportedLanguages.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            /**
             * Returns the locale.
             *
             * @return The locale.
             */
            public Locale getLocale() {
                return locale;
            }
    
            /**
             * Sets the locale.
             *
             * @param locale The locale.
             */
            public void setLocale(final Locale locale) {
                this.locale = locale;
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                final Set<String> langSet = new HashSet<>();
                final Enumeration<Locale> locales = request.getLocales();
                if (locales != null) {
                    while (locales.hasMoreElements()) {
                        final Locale locale = locales.nextElement();
                        final String normalizeLang = systemHelper.normalizeLang(locale.toString());
                        if (normalizeLang != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                return normalizeQueryLanguages(requestLangs);
            }
    
            if (locales == null) {
                return StringUtil.EMPTY_STRINGS;
            }
    
            return normalizeQueryLanguages(Collections.list(locales).stream().map(locale -> {
                final String language = locale.getLanguage();
                final String country = locale.getCountry();
                if (StringUtil.isNotBlank(language)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertFalse(labelTypeHelper.matchLocale(Locale.ENGLISH, Locale.JAPANESE));
            assertFalse(labelTypeHelper.matchLocale(Locale.SIMPLIFIED_CHINESE, Locale.TRADITIONAL_CHINESE));
    
            assertTrue(labelTypeHelper.matchLocale(null, Locale.ROOT));
            assertTrue(labelTypeHelper.matchLocale(Locale.ENGLISH, Locale.ROOT));
            assertTrue(labelTypeHelper.matchLocale(Locale.ROOT, Locale.ROOT));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. 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)
Back to top