commons-issues mailing list archives

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

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

Gary Gregory commented on CLI-261:
----------------------------------

A language property file might be heavy for a single word, unless we were to update all messages
in the source... Feel free to provide a patch to see what it would look like for the solution
you need at least.

> 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