Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 93 for localize (1.36 sec)

  1. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exception/SsoMessageException.java

            this.messageCode = messageCode;
        }
    
        /**
         * Gets the message code for internationalized error display.
         *
         * The message code can be used by the presentation layer to retrieve
         * localized error messages appropriate for the user's language settings.
         *
         * @return The message code for error message localization
         */
        public VaMessenger<FessMessages> getMessageCode() {
            return messageCode;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

         *
         * @param s
         *            A string representing a number
         * @param locale
         *            The locale. Must not be {@literal null}.
         * @return The normalized string
         */
        public static String normalize(final String s, final Locale locale) {
            assertArgumentNotNull("locale", locale);
    
            if (s == null) {
                return null;
            }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class NullArgumentExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. ADDING_NEW_LANGUAGE.md

    # Access: http://localhost:8080/admin/?browser_lang=sv
    ```
    
    ## Troubleshooting
    
    ### Language doesn't appear in dropdown
    
    - Verify both `fess_label_[locale].properties` and `fess_message_[locale].properties` exist
    - Check that locale code is in `supported.languages` in `fess_config.properties`
    - Regenerate Java classes: `mvn dbflute:freegen`
    - Rebuild project: `mvn clean package`
    - Restart Fess application
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class DateConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/LocaleUtil.java

         * @return {@link Locale}
         */
        public static Locale getLocale(final String localeStr) {
            // TODO replace with Fess
            Locale locale = LocaleUtil.getDefault();
            if (localeStr != null) {
                final int index = localeStr.indexOf('_');
                if (index < 0) {
                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

    import java.util.Date;
    import java.util.Locale;
    import java.util.TimeZone;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class TimestampConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
Back to top