uutils/coreutils

"cargo install" only build in English

Open

#8,594 建立於 2025年9月9日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)Rust (23,246 star) (1,852 fork)batch import
J - Localegood first issue

描述

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.

貢獻者指南