Introduction to Internationalization

Learn how to support multiple languages with Spring Boot and Thymeleaf.

The file

By default, Spring Boot expects the properties file 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 supports, another file is added at the same location. It’s better to have all those translation files in their own directory.

Get hands-on with 1200+ tech skills courses.