commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leandro Cerencio (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLI-261) English messages with other languages locales
Date Tue, 29 Dec 2015 23:38:49 GMT

    [ https://issues.apache.org/jira/browse/CLI-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15074437#comment-15074437
] 

Leandro Cerencio commented on CLI-261:
--------------------------------------

I am sorry guys, I didn't notice this method. I will follow Bruno's suggestion. When I was
writing the issue, I thought same as you, Gary. Maybe, it is too much trouble for small detail.


> English messages with other languages locales
> ---------------------------------------------
>
>                 Key: CLI-261
>                 URL: https://issues.apache.org/jira/browse/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 messages.properties, I could make the translation for you.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message