Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

ArgumentDescription
<code>Language code to set (e.g., en, ko)

Options

OptionDescription
--listList all supported languages
--resetReset to system default language
--jsonOutput as JSON

Supported Languages

CodeLanguage
enEnglish (default)
ko한국어 (Korean)
ja日本語 (Japanese)
pt-BRPortuguês (Brazilian Portuguese)
esEspañol (Spanish)

Language Detection Priority

  1. SCUV_LANG environment variable
  2. ~/.scuv/config.json setting
  3. System locale (via sys-locale)
  4. 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