https://github.com/alaugks/spring-messagesource-xliff-example
A complete example using Spring Boot, including the use of XLIFF 1.2 and XLIFF 2.1 translation files.
https://github.com/alaugks/spring-messagesource-xliff-example
i18n internationalization messagesource spring spring-boot tymeleaf xliff xliff2
Last synced: 4 months ago
JSON representation
A complete example using Spring Boot, including the use of XLIFF 1.2 and XLIFF 2.1 translation files.
- Host: GitHub
- URL: https://github.com/alaugks/spring-messagesource-xliff-example
- Owner: alaugks
- Created: 2023-06-26T17:31:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-18T10:00:25.000Z (about 1 year ago)
- Last Synced: 2025-09-16T04:41:59.815Z (9 months ago)
- Topics: i18n, internationalization, messagesource, spring, spring-boot, tymeleaf, xliff, xliff2
- Language: Java
- Homepage:
- Size: 85 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Example: XLIFF MessageSource for Spring
This example shows how to use [spring-messagesource-xliff](https://github.com/alaugks/spring-messagesource-xliff).
## Build and Run Docker Image
```bash
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.
```bash
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
* [XLIFF MessageSource for Spring](https://github.com/alaugks/spring-messagesource-xliff)
* [JSON MessageSource for Spring](https://github.com/alaugks/spring-messagesource-json)
* [Example: XLIFF MessageSource for Spring](https://github.com/alaugks/spring-messagesource-xliff-example)
* [Example: JSON MessageSource for Spring](https://github.com/alaugks/spring-messagesource-json-example)
* [Example: Custom Database Spring MessageSource](https://github.com/alaugks/spring-messagesource-db-example)