Skip to main content

dawdler-client-i18n

Module Introduction​

Client code, referenced by the web side in a microservice architecture to pass internationalization parameters to the server side.

1. Adding the Dependency to pom​

<groupId>club.dawdler</groupId>
<artifactId>dawdler-client-i18n</artifactId>

This module automatically registers I18nFilter via SPI and requires no additional configuration. During an RPC request, I18nFilter puts TLS_LOCALE into the RpcContext and passes it to the server side.

2. Usage​

Normally, developers do not need to use this module directly; instead, they use the internationalization feature through the @I18nInjector annotation provided by the dawdler-client-plug-i18n module.