Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using ResourceBundle #415

Closed
amsitlab opened this issue Jul 16, 2018 · 5 comments
Closed

Using ResourceBundle #415

amsitlab opened this issue Jul 16, 2018 · 5 comments
Labels
Milestone

Comments

@amsitlab
Copy link

Hay remkop, can I use ResourceBundle for option help message?

@remkop
Copy link
Owner

remkop commented Jul 16, 2018

Hi @amsitlab, I have been planning to add this for a long time (#22) but never got around to it.

Do you think you'll be able to submit a patch or pull request for this?

@polarapfel polarapfel mentioned this issue Aug 7, 2018
@remkop remkop added this to the 3.6 milestone Aug 26, 2018
@remkop remkop added the status: duplicate 👨🏻‍🤝‍👨🏻 A duplicate of another issue label Aug 27, 2018
@remkop remkop closed this as completed in 54f7cef Sep 6, 2018
@remkop
Copy link
Owner

remkop commented Sep 6, 2018

Fixed in master.
This feature will be available from the upcoming 3.6 release.

@amsitlab
Copy link
Author

Great job.
Btw, is available api to overriding exception message from picocli.CommandLine.Parameter#getMessage() with ResourceBundle?
Likes message Unknown option: -blah.

@amsitlab
Copy link
Author

Sorry picocli.CommandLine.ParameterException#getMessage() I mean.

@remkop
Copy link
Owner

remkop commented Feb 22, 2019

@amsitlab No, it is not yet possible to localize picocli error messages.
There is an outstanding ticket #485 that I haven't got around to.
Will you be able to provide a pull request for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants