uutils/coreutils

"cargo install" only build in English

Open

#8594 opened on Sep 9, 2025

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Rust (23,246 stars) (1,852 forks)batch import
J - Localegood first issue

Description

with

cargo install uu_yes

we install the binary in ~/.cargo/bin/

This command ~/.cargo/bin/yes --help will show English strings.

We probably want to update this code: https://github.com/uutils/coreutils/blob/main/src/uucore/build.rs#L216 to detect the local of the system and embedded both english (for fallback) and the user translation locales.

Contributor guide