commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leandro Cerencio (JIRA)" <>
Subject [jira] [Created] (CLI-261) English messages with other languages locales
Date Tue, 29 Dec 2015 16:37:49 GMT
Leandro Cerencio created CLI-261:

             Summary: English messages with other languages locales
                 Key: CLI-261
             Project: Commons CLI
          Issue Type: Bug
          Components: CLI-1.x
    Affects Versions: 1.3.1
         Environment: Linux 12.04 32 bits
JDK 1.8.0_40
            Reporter: Leandro Cerencio
            Priority: Minor

I am running Ubuntu with pt_BR.UTF-8 locale. Here is an example of bash command:

$ ls --help
Uso: .....

Now, I am using commons cli HelpFormatter:
$ java -jar myPackage.jar
usage: .....

I checked HelpFormatter code, and usage string is hard-coded on DEFAULT_SYNTAX_PREFIX. If
there were a, I could make the translation for you.

This message was sent by Atlassian JIRA

View raw message