mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-05 07:03:24 +01:00
Fix default language swith ...
This commit is contained in:
parent
49727943da
commit
2e8b166b8a
@ -127,7 +127,7 @@ public class UserServiceImpl
|
||||
}
|
||||
|
||||
//create welcome map
|
||||
final Mindmap mindMap = buildWelcomeMindmap(user.getFirstname());
|
||||
final Mindmap mindMap = buildTutorialMindmap(user.getFirstname());
|
||||
mindmapService.addMindmap(mindMap, user);
|
||||
|
||||
|
||||
@ -142,7 +142,7 @@ public class UserServiceImpl
|
||||
return user;
|
||||
}
|
||||
|
||||
public Mindmap buildWelcomeMindmap(@NotNull String firstName) {
|
||||
public Mindmap buildTutorialMindmap(@NotNull String firstName) {
|
||||
//To change body of created methods use File | Settings | File Templates.
|
||||
Locale locale = LocaleContextHolder.getLocale();
|
||||
|
||||
|
1
wise-webapp/src/main/webapp/WEB-INF/classes/messages.properties
Symbolic link
1
wise-webapp/src/main/webapp/WEB-INF/classes/messages.properties
Symbolic link
@ -0,0 +1 @@
|
||||
messages_en.properties
|
@ -88,7 +88,9 @@
|
||||
</bean>
|
||||
|
||||
<bean id="localeResolver"
|
||||
class="org.springframework.web.servlet.i18n.SessionLocaleResolver"/>
|
||||
class="org.springframework.web.servlet.i18n.SessionLocaleResolver">
|
||||
<property name="defaultLocale" value="en" />
|
||||
</bean>
|
||||
|
||||
<bean id="reCaptcha" class="net.tanesha.recaptcha.ReCaptchaImpl">
|
||||
<property name="privateKey" value="${google.recaptcha.privateKey}"/>
|
||||
|
Loading…
Reference in New Issue
Block a user