Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getUserLocale (0.14 sec)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            final DecimalFormat df = (DecimalFormat) NumberFormat.getNumberInstance(getUserLocale());
            df.applyPattern(pattern);
            return df.format(value);
        }
    
        private static Locale getUserLocale() {
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale == null) {
                return Locale.ROOT;
            }
            return locale;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingInfoParam.java

                });
            }
            return crawlingInfo;
        }
    
        public String getKeyMsg() {
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            final String message = ComponentUtil.getMessageManager().getMessage(locale, "labels.crawling_info_" + getKey());
            if (message == null || message.startsWith("???")) {
                return getKey();
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

            return LaRequestUtil.getOptionalRequest().map(req -> req.getAttribute(name)).orElse(null);
        }
    
        @Override
        public Locale getLocale() {
            return ComponentUtil.getRequestManager().getUserLocale();
        }
    
        @Override
        public SearchRequestType getType() {
            return SearchRequestType.SEARCH;
        }
    
        @Override
        public String getSimilarDocHash() {
            return sdh;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

            return LaRequestUtil.getOptionalRequest().map(req -> req.getAttribute(name)).orElse(null);
        }
    
        @Override
        public Locale getLocale() {
            return ComponentUtil.getRequestManager().getUserLocale();
        }
    
        @Override
        public SearchRequestType getType() {
            return SearchRequestType.ADMIN_SEARCH;
        }
    
        @Override
        public String getSimilarDocHash() {
            return sdh;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            if (StringUtil.isBlank(url)) {
                return null;
            }
            String target = null;
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale != null) {
                final String lang = locale.getLanguage();
                if (ComponentUtil.getFessConfig().isOnlineHelpSupportedLang(lang)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

        }
    
        protected void registerProtocolSchemeItems(final RenderData data) {
            final List<Map<String, String>> itemList = new ArrayList<>();
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_basic"), Constants.BASIC));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

            runtime.registerData("displayLabelTypeItems", labelTypeItems != null && !labelTypeItems.isEmpty());
    
            Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale == null) {
                locale = Locale.ENGLISH;
            }
            runtime.registerData("langItems", systemHelper.getLanguageItems(locale));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

        }
    
        protected void registerProtocolSchemeItems(final RenderData data) {
            final List<Map<String, String>> itemList = new ArrayList<>();
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.file_auth_scheme_samba"), Constants.SAMBA));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                return null;
            }).filter(StringUtil::isNotBlank).orElse(url);
        }
    
        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);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top