Skip to main content

Multi-Language Applications

Learn Multi-Language Applications (Internationalization, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes A multi-language application serves the same pages in several languages and lets the user choose; in Spring MVC it combines message files, a LocaleResolver and a language switch. Recipe : messages_xx.properties files, a MessageSource , a CookieLocaleResolver or SessionLocaleResolver , and a LocaleChangeInterceptor . In views use #{key} in Thymeleaf or spring:message in JSP; never hard-code visible text.

More lessons in Internationalization