Search⌘ K
AI Features

Introduction to Internationalization

Explore how to implement internationalization in a Spring Boot and Thymeleaf application. Understand the setup of messages.properties files to support different languages and how to reference translations using Thymeleaf syntax.

The messages.properties file

By default, Spring Boot expects the properties file messages.properties to be at the root of the classpath. Thus it would be at src/main/resources in the default directory structure.

For each language the application ...