Menu

#23 Support localization in TCLAP

1.4
accepted
None
5
2021-09-18
2021-09-01
Nick Moss
No

As a feature request, I would like the ability to customise the descriptions for all three default arguments (help, version and ignore rest), primarily to have the option of providing translations for this text.

Discussion

  • Daniel Aarno

    Daniel Aarno - 2021-09-07

    We should probably do a better job of localization in general - and not simply allow changing the default args. For now, I would suggest you simply change the text in the appropriate header (as this will likely take some time to get done).

     
  • Daniel Aarno

    Daniel Aarno - 2021-09-07
    • summary: Allow replacing the descriptions of default arguments --> Support localization in TCLAP
    • status: open --> accepted
    • assigned_to: Daniel Aarno
    • Group: Unknown --> 1.4
     
  • Nick Moss

    Nick Moss - 2021-09-18

    Hi Daniel,

    Thanks for the reply. I've worked around the issue by disabling the default arguments, removing the ignore rest and replacing them using the results from the internationalisation library.

    The workaround is working fine so it's not a critical feature for me personally, I just thought the suggestion might be helpful.

     

Log in to post a comment.