Skip to content

A complete example using Spring Boot, including the use of XLIFF 1.2 and XLIFF 2.1 translation files.

Notifications You must be signed in to change notification settings

alaugks/spring-messagesource-xliff-example

Repository files navigation

Example: XLIFF MessageSource for Spring

This example shows how to use spring-messagesource-xliff.

Build and Run Docker Image

docker compose up -d

After a successful build, open the example in your web browser.: http://localhost:8080

Custom Changes

If you want to make changes for testing, you have to restart the Docker image.

docker compose restart

Note

When you restart, the JAR file is rebuilt and the Tomcat is started. This can take a few seconds.

Related MessageSources and Examples