Tagged articles
4 articles
Page 1 of 1
The Dominant Programmer
The Dominant Programmer
Sep 4, 2020 · Backend Development

Using SpringBoot’s MessageSource.getMessage for Easy i18n Localization

SpringBoot supports internationalization out of the box; by creating a messages.properties file under resources, configuring the basename in application.yml, and using a MessageUtils wrapper that retrieves MessageSource via SpringUtils, developers can fetch localized messages with a single method call.

i18nlocalizationmessagesource
0 likes · 6 min read
Using SpringBoot’s MessageSource.getMessage for Easy i18n Localization
Senior Brother's Insights
Senior Brother's Insights
Jul 7, 2020 · Backend Development

How to Implement i18n Internationalization in Spring Boot APIs

This guide walks through adding Spring Boot i18n support, covering Maven dependencies, project structure, locale resolver and interceptor configuration, message file setup, a utility class, and a sample controller that returns localized responses based on a language query parameter.

Backend APILocaleChangeInterceptorLocaleResolver
0 likes · 6 min read
How to Implement i18n Internationalization in Spring Boot APIs