Language Command
The /language command allows you to customize the language settings for both the Qwen Code user interface (UI) and the language model’s output. This command supports two distinct functionalities:
- Setting the UI language for the Qwen Code interface
- Setting the output language for the language model (LLM)
UI Language Settings
To change the UI language of Qwen Code, use the ui subcommand:
/language ui [zh-CN|en-US]Available UI Languages
- zh-CN: Simplified Chinese (简体中文)
- en-US: English
Examples
/language ui zh-CN # Set UI language to Simplified Chinese
/language ui en-US # Set UI language to EnglishUI Language Subcommands
You can also use direct subcommands for convenience:
/language ui zh-CNor/language ui zhor/language ui 中文/language ui en-USor/language ui enor/language ui english
LLM Output Language Settings
To set the language for the language model’s responses, use the output subcommand:
/language output <language>This command generates a language rule file that instructs the LLM to respond in the specified language. The rule file is saved to ~/.qwen/output-language.md.
Examples
/language output 中文 # Set LLM output language to Chinese
/language output English # Set LLM output language to English
/language output 日本語 # Set LLM output language to JapaneseViewing Current Settings
When used without arguments, the /language command displays the current language settings:
/languageThis will show:
- Current UI language
- Current LLM output language (if set)
- Available subcommands
Notes
- UI language changes take effect immediately and reload all command descriptions
- LLM output language settings are persisted in a rule file that is automatically included in the model’s context
- To request additional UI language packs, please open an issue on GitHub
Last updated on