This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push: new d0fe6a1 Simplify native mode locale docs section d0fe6a1 is described below commit d0fe6a1acd416efc741f6187c1ec0fd1f0baf590 Author: James Netherton <jamesnether...@gmail.com> AuthorDate: Thu Oct 14 09:23:21 2021 +0100 Simplify native mode locale docs section --- docs/modules/ROOT/pages/user-guide/native-mode.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/modules/ROOT/pages/user-guide/native-mode.adoc b/docs/modules/ROOT/pages/user-guide/native-mode.adoc index 009b976..7d759a4 100644 --- a/docs/modules/ROOT/pages/user-guide/native-mode.adoc +++ b/docs/modules/ROOT/pages/user-guide/native-mode.adoc @@ -28,8 +28,8 @@ in Quarkus documentation. [[locale]] == Locale -Before GraalVM 21.1, only the building JVM's default locale was included in the native image. -Quarkus offered a way to set that locale via `application.properties`, so that you did not need to rely on `LANG` and `LC_*` environement variables: +By default, only the building JVM default locale is included in the native image. +Quarkus provides a way to set the locale via `application.properties`, so that you do not need to rely on `LANG` and `LC_*` environement variables: [source,properties] ---- @@ -37,9 +37,9 @@ quarkus.native.user-country=US quarkus.native.user-language=en ---- -Since https://medium.com/graalvm/graalvm-21-1-96e18f6806bf#7ce8[GraalVM 21.1], there is a support for embedding multiple locales into the native image +There is also support for embedding multiple locales into the native image and for selecting the default locale via GraalVM command line options `-H:IncludeLocales=fr,en`, `H:+IncludeAllLocales` and `-H:DefaultLocale=de`. -You can set those via Quarkus `quarkus.native.additional-build-args` property. +You can set those via the Quarkus `quarkus.native.additional-build-args` property. [[embedding-resource-in-native-executable]] == Embedding resources in the native executable