This is an automated email from the ASF dual-hosted git repository.
aldettinger 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 3743244 Explained how to override default build locale in bindy
documentation #2407
3743244 is described below
commit 374324408b506a3398aff0285de44ecf3b7a7061
Author: aldettinger <[email protected]>
AuthorDate: Thu May 6 10:17:35 2021 +0200
Explained how to override default build locale in bindy documentation #2407
---
docs/modules/ROOT/pages/reference/extensions/bindy.adoc | 7 +++++--
extensions/bindy/runtime/src/main/doc/limitations.adoc | 9 ++++++---
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/docs/modules/ROOT/pages/reference/extensions/bindy.adoc
b/docs/modules/ROOT/pages/reference/extensions/bindy.adoc
index f315c6a..01d2403 100644
--- a/docs/modules/ROOT/pages/reference/extensions/bindy.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/bindy.adoc
@@ -43,12 +43,15 @@ Check the xref:user-guide/index.adoc[User guide] for more
information about writ
== Camel Quarkus limitations
-When using camel-quarkus-bindy in native mode, only the build machine's
default locale is supported.
+When using camel-quarkus-bindy in native mode, only the build machine's locale
is supported.
-For instance, on build machines with french default locale, the code below:
+For instance, on build machines with french locale, the code below:
```
BindyDataFormat dataFormat = new BindyDataFormat();
dataFormat.setLocale("ar");
```
formats numbers the arabic way in JVM mode as expected. However, it formats
numbers the french way in native mode.
+Without further tuning, the build machine's default locale would be used.
Another locale could be specified with
+the
https://quarkus.io/guides/building-native-image#quarkus-native-pkg-native-config_quarkus.native.user-language[quarkus.native.user-language]
and
https://quarkus.io/guides/building-native-image#quarkus-native-pkg-native-config_quarkus.native.user-country[quarkus.native.user-country]
configuration properties.
+
diff --git a/extensions/bindy/runtime/src/main/doc/limitations.adoc
b/extensions/bindy/runtime/src/main/doc/limitations.adoc
index 4aa54ad..f51ff83 100644
--- a/extensions/bindy/runtime/src/main/doc/limitations.adoc
+++ b/extensions/bindy/runtime/src/main/doc/limitations.adoc
@@ -1,8 +1,11 @@
-When using camel-quarkus-bindy in native mode, only the build machine's
default locale is supported.
+When using camel-quarkus-bindy in native mode, only the build machine's locale
is supported.
-For instance, on build machines with french default locale, the code below:
+For instance, on build machines with french locale, the code below:
```
BindyDataFormat dataFormat = new BindyDataFormat();
dataFormat.setLocale("ar");
```
-formats numbers the arabic way in JVM mode as expected. However, it formats
numbers the french way in native mode.
\ No newline at end of file
+formats numbers the arabic way in JVM mode as expected. However, it formats
numbers the french way in native mode.
+
+Without further tuning, the build machine's default locale would be used.
Another locale could be specified with
+the
https://quarkus.io/guides/building-native-image#quarkus-native-pkg-native-config_quarkus.native.user-language[quarkus.native.user-language]
and
https://quarkus.io/guides/building-native-image#quarkus-native-pkg-native-config_quarkus.native.user-country[quarkus.native.user-country]
configuration properties.