Add i18n module: MessageSource, LocaleResolver and localized ProblemDetail

English, Marathi and Hindi bundles behind one small web app, with tests that run it on a real
port and write the transcripts (01-11) quoted in the article, plus a jar-metadata capture (12).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Uu7q8vPeREyT4218EJPzz1
This commit is contained in:
Claude
2026-09-24 09:54:55 +00:00
parent e59ff029a1
commit 2cbf31e7d5
36 changed files with 1182 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
# Regenerates every file under output/.
#
# ./scripts/run-all.sh
#
# Needs a JDK 25, Maven 3.9 and python3. Transcripts 01-11 are written by the test suite, so each figure in the
# article is an assertion that fails the build if it stops being true. 12 is read out of the Spring Boot jar.
set -euo pipefail
cd "$(dirname "$0")/.."
echo "== test suite (transcripts 01-11)"
mvn -B test
echo "== facts read from jars (12)"
./scripts/capture-facts.sh
echo
echo "output:"
ls -1 output