https://github.com/alaugks/spring-messagesource-json-example
Example: Custom JSON Spring MessageSource
https://github.com/alaugks/spring-messagesource-json-example
internationalization json messagesource spring spring-boot
Last synced: 2 months ago
JSON representation
Example: Custom JSON Spring MessageSource
- Host: GitHub
- URL: https://github.com/alaugks/spring-messagesource-json-example
- Owner: alaugks
- Created: 2024-10-03T18:00:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-24T14:56:45.000Z (over 1 year ago)
- Last Synced: 2025-05-30T10:11:00.823Z (about 1 year ago)
- Topics: internationalization, json, messagesource, spring, spring-boot
- Language: Java
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example: Spring MessageSource for JSON files
This example shows how to use [spring-messagesource-json](https://github.com/alaugks/spring-messagesource-json).
## 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-db-example)
* [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: Database MessageSource for Spring](https://github.com/alaugks/spring-messagesource-db-example)