Set default language

You can change the Mashup UI default language in the product configuration. For example, to change the default language to French, set the value to fr.

  1. Go to <INSTALLDIR>/sdk/java-mashupui/project/war/WEB-INF/ directory.
  2. Edit the 360-search-ui.xml file.
  3. To set a default language:
    1. Uncomment the defaultLocale property
    2. Set its value to the ISO language of your choice.

      <bean id="localeResolver" class="org.springframework.web.servlet.i18n.CookieLocaleResolver">
      <!--<property name="defaultLocale" value="en"/>-->
      ...
      </bean>

    Note: If necessary, you can also specify the country code of the language. For example, en_US represents U.S. English.

  4. Save and close the file.
  5. Go to Administration Console > Home page and restart the search server in the list of Processes.