Add chinese support.

This commit is contained in:
Paulo Gustavo Veiga
2012-07-05 23:34:06 -03:00
parent 5cf9756ed3
commit aedab95b4a
9 changed files with 620 additions and 6 deletions

View File

@@ -128,7 +128,7 @@ public class MindmapController {
@RequestMapping(value = "maps/")
public String showListPage(@NotNull Model model) {
final Locale locale = LocaleContextHolder.getLocale();
model.addAttribute("locale", locale.getLanguage());
model.addAttribute("locale", locale.getISO3Language());
return "mindmapList";
}
@@ -143,7 +143,7 @@ public class MindmapController {
// Configure default locale for the editor ...
final Locale locale = LocaleContextHolder.getLocale();
model.addAttribute("locale", locale.getLanguage());
model.addAttribute("locale", locale.getISO3Language());
model.addAttribute("principal", Utils.getUser());
result = "mindmapEditor";
} else {