Internationalization - i18n
Learn Internationalization - i18n (Internationalization, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes Internationalization (i18n) means designing an application so it can be adapted to many languages and regions without changing the code; the 18 stands for the letters between i and n. Texts move out of code : labels and messages live in messages_xx.properties files and are looked up by a key. Three Spring pieces : a MessageSource finds the text, a LocaleResolver decides the current locale, and a LocaleChangeInterceptor lets the user switch it.