apple / apple/swift-argument-parser

Standard help messages are not localised

Open
#203 1 comment 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
Swift
Stars
3.8k
Forks
411
Avg merge
7d 14h
Merged PRs (30d)
15

Description

ArgumentParser version: `0.2.0`
Apple Swift version 5.3 (swiftlang-1200.0.16.13 clang-1200.0.22.25)
Target: x86_64-apple-darwin19.6.0

### Checklist
- [x] If possible, I've reproduced the issue using the `master` branch of this package
- [x] I've searched for [existing GitHub issues](https://github.com/apple/swift-argument-parser/issues)

Since we now have localised resources for Swift packages, standard help messages should be localised as well. Having both localised and English text within the same environment really gives an unprofessional look.

### Steps to Reproduce
Create a basic command-line utility with commands and help messages.

### Expected behavior
Text like `OVERVIEW`, `USAGE`, `SUBCOMMANDS`, `Show the version.` should be localised.

### Actual behavior
Text mentioned above are in English, even when the rest of the strings are localised.

Contributor guide

Open the contributing guide

Research direction

Start by locating the standard help-message definitions and the package's existing localized resources. Compare the handling of OVERVIEW, USAGE, SUBCOMMANDS, and “Show the version.”; the work is done when these standard messages use localization consistently with the other strings.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cli, internationalization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.