To Modify the default language ( in this example, we are going to set the language as japanese ):
- Open the file SERVER_PATH\var\config\tempo-ui-fw.xml.
- Add the following bean in the "beans" tag :
<bean id="localeResolver" class="org.springframework.web.servlet.i18n.FixedLocaleResolver">
<property name="defaultLocale" value="ja" />
</bean>
- Restart your server.
If you want to set the language according to the language of the user ( the language settings of the browser) :
- Open the file SERVER_PATH\var\config\tempo-ui-fw.xml.
- Add the following bean in the "beans" tag :
<bean id="localeResolver"
class="org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver">
</bean>
- Restart your server.
The Intalio UI-FW currently supports an english and japanese versions. To add another language :
- Go to SERVER_PATH\repository\org\intalio\tempo\ui-fw\5.2.0.19\ui-fw-5.2.0.19.war\WEB-INF\classes ( the path will slightly change depending on your server version).
- copy and paste messages_en.properties and rename it. ( messages_fr.properties for french, messages_sp.properties for spanish...).
- Translate the values of the properties in the file.
- Modify the default language settings ( see above).
- restart your server.
