This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch configure-default-locale
in repository https://gitbox.apache.org/repos/asf/maven-doxia-sitetools.git

commit 211b0165a14d20cc6978a2c3d874663b333e7d2d
Author: Michael Osipov <[email protected]>
AuthorDate: Sun Mar 1 20:22:35 2026 +0100

    Make default locale configurable on JVM level
---
 .../src/main/java/org/apache/maven/doxia/tools/SiteTool.java         | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/SiteTool.java
 
b/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/SiteTool.java
index 27d769b..7beee39 100644
--- 
a/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/SiteTool.java
+++ 
b/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/SiteTool.java
@@ -43,7 +43,10 @@ public interface SiteTool {
      *
      * @see Locale#ROOT
      */
-    Locale DEFAULT_LOCALE = Locale.ROOT;
+    Locale DEFAULT_LOCALE = new Locale(
+            System.getProperty("maven.doxia.sitetools.user.language", ""),
+            System.getProperty("maven.doxia.sitetools.user.country", ""),
+            System.getProperty("maven.doxia.sitetools.user.variant", ""));
 
     /**
      * Get a skin artifact from one of the repositories.

Reply via email to