Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Example: Spring MessageSource for XLIFF files

* alaugks/spring-messagesource-xliff ([GitHub](https://github.com/alaugks/spring-messagesource-xliff))
* Docker Image: alaugks/spring-boot-xliff-example:
2.0.0.2 ([Docker Hub](https://hub.docker.com/r/alaugks/spring-messagesource-xliff-example/tags))
* [Example Website](https://spring-boot-xliff-example.alaugks.dev)

## 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.