llowinge commented on PR #7671: URL: https://github.com/apache/camel-quarkus/pull/7671#issuecomment-3274826091
@jamesnetherton So i've been able to test it on Linux machine with following settings: ``` export LANG="fr_FR.UTF-8" export LC_CTYPE="fr_FR.UTF-8" export LC_NUMERIC="fr_FR.UTF-8" export LC_TIME="fr_FR.UTF-8" export LC_COLLATE="fr_FR.UTF-8" export LC_MONETARY="fr_FR.UTF-8" export LC_MESSAGES="fr_FR.UTF-8" export LC_PAPER="fr_FR.UTF-8" export LC_NAME="fr_FR.UTF-8" export LC_ADDRESS="fr_FR.UTF-8" export LC_TELEPHONE="fr_FR.UTF-8" export LC_MEASUREMENT="fr_FR.UTF-8" export LC_IDENTIFICATION="fr_FR.UTF-8" export LC_ALL="fr_FR.UTF-8" ``` and running native tests with additional property (just to be even more sure, even it was probably not necessary): ` -Dquarkus.test.arg-line="-Duser.language=fr -Duser.country=FR" ` (full command `mvn clean verify -Dtest="abcd" -Dnative -Dsurefire.failIfNoSpecifiedTests=false -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21 -Dquarkus.test.arg-line="-Duser.language=fr -Duser.country=FR"`) It printed correctly (in `GeocoderGoogleResource.java` which is inside of the native app): ``` Locale.getDefault().getLanguage(): fr Locale.getDefault().getCountry(): FR Locale.getDefault().toString(): fr_FR Locale.getDefault().getDisplayName(): French (France) ``` And all the tests passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
