lang
Get or set the display language for scuv CLI messages.
Usage
# Show current language
scuv lang
# Set language
scuv lang <code>
# List supported languages
scuv lang --list
# Reset to system default
scuv lang --reset
Arguments
| Argument | Description |
|---|---|
<code> | Language code to set (e.g., en, ko) |
Options
| Option | Description |
|---|---|
--list | List all supported languages |
--reset | Reset to system default language |
--json | Output as JSON |
Supported Languages
| Code | Language |
|---|---|
en | English (default) |
ko | 한국어 (Korean) |
ja | 日本語 (Japanese) |
pt-BR | Português (Brazilian Portuguese) |
es | Español (Spanish) |
Language Detection Priority
SCUV_LANGenvironment variable~/.scuv/config.jsonsetting- System locale (via
sys-locale) - Default:
en
Examples
Show Current Language
$ scuv lang
Current: en (English)
Set Korean
$ scuv lang ko
✓ 언어가 ko(으)로 설정됨
The confirmation is printed in the language you just selected.
List Languages
$ scuv lang --list
Supported languages:
* en English
ko 한국어
pt-BR Português (Brasil)
ja 日本語
es Español
The * marks the current language.
Reset to System Default
$ scuv lang --reset
✓ Reset to system default: en
JSON Output
$ scuv lang --json
{
"status": "success",
"command": "lang",
"data": {
"current": "ko",
"name": "한국어"
}
}
Configuration
Language preference is stored in:
~/.scuv/config.json
{"lang": "ko"}
Environment Variable Override
# Temporarily use English regardless of config
SCUV_LANG=en scuv list
# Set for current session
export SCUV_LANG=ko
Notes
- CLI help text (
--help) remains in English (industry standard) - JSON output keys remain in English (machine-readable)
- Error messages, success messages, and prompts are translated