[jboss-jira] [JBoss JIRA] (WFCORE-521) setting the local to english in CLI commands on non-english systems does not produce english output

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Feb 24 14:53:04 EST 2016


    [ https://issues.jboss.org/browse/WFCORE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167883#comment-13167883 ] 

RH Bugzilla Integration commented on WFCORE-521:
------------------------------------------------

Vladimir Dosoudil <dosoudil at redhat.com> changed the Status of [bug 1128132|https://bugzilla.redhat.com/show_bug.cgi?id=1128132] from MODIFIED to ON_QA

> setting the local to english in CLI commands on non-english systems does not produce english output
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-521
>                 URL: https://issues.jboss.org/browse/WFCORE-521
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 1.0.0.Alpha15
>         Environment: Tested on MacOS running in German
>            Reporter: Tom Fonteyne
>            Assignee: Romain Pelisse
>            Priority: Minor
>             Fix For: 1.0.0.Alpha16
>
>
> A German (or french etc...) system must be used to reproduce.
> It is likely this is not limited to MacOS, but I do not have a non-english Linux system available
> An out of the box install of wildfly/EAP:
> Without configuration, the log file is in German as expected.
> Using these CLI comands:
> :read-operation-description(name=stop-servers,locale=de_DE) -> german
> :read-operation-description(name=stop-servers,locale=en_US) -> german
> :read-operation-description(name=stop-servers,locale=fr_FR) -> french
> So we cannot get the CLI to produce english output
> when configuring JAVA_OPTS in domain.conf with:
> JAVA_OPTS="$JAVA_OPTS -Duser.language=en -Duser.country=DE -Duser.encoding=utf-8
> The log is now in English -> works as expected; and:
> :read-operation-description(name=stop-servers,locale=de_DE) -> german
> :read-operation-description(name=stop-servers,locale=en_US) -> english
> So it seems we have a bug where the locale set to start the domain takes precedence over the locale set in the CLI command (but only when English is asked)
> I presume this is because English is the default locale.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list