Docs contents

Languages

Use the bot, the WebUI and the command line in English or Simplified Chinese.

ShiritaiBot speaks Simplified Chinese and English. Simplified Chinese is the default, and the language only changes when you choose another one: ShiritaiBot never guesses from the language a user writes in or from your browser's language.

There are three separate settings:

SettingWhat it changesWhere to set it
Bot language/help, error messages, notifications, the bot's replies, and the prompts sent to the modelSettings → General → Language, or /lang in a chat
Interface languageThe WebUI's textThe language menu in the WebUI's top bar or on the sign-in page
Command-line languageOutput of the install scripts and the shiritaibot commandYour terminal's LANG / LC_ALL environment variables

Bot language

In the WebUI, open Settings → General → Language, choose the Bot language and save. Every chat that hasn't set its own language with /lang uses it, starting with the next message.

  • The bot replies in this language even when someone writes in another one.
  • A persona that asks for a specific reply language (for example "always answer in Japanese") still wins.
  • Notifications from the proactive engine use the language of the owner's chat.
  • Runtime logs always use this global language.

Change the language of one chat

Send /lang in any chat:

CommandWhat it does
/langShows this chat's language
/lang enSwitches this chat to English
/lang zh-CNSwitches this chat to Simplified Chinese
/lang defaultRemoves the chat's own setting, so it uses the global bot language again

Other spellings such as zh, english and 中文 work too. Only the owner can change the language; anyone else can only see it with /lang.

A language set with /lang comes first: the chat uses it even if the persona asks for another reply language. Every chat with its own language is listed under Sessions with their own language (/lang) in Settings → General → Language, where Use default removes the setting. /status also shows the chat's language.

WebUI language

The WebUI's top bar and sign-in page both have a language menu; choose English there. The choice is saved in this browser only and doesn't affect the bot. Until you choose, the sign-in page is in Chinese, and after you sign in the WebUI follows the bot language.

Command line and install scripts

The shiritaibot command and the macOS / Linux install script pick their language from your terminal's LANG or LC_ALL: English when it's English (such as en_US.UTF-8), Chinese otherwise. The Windows install script always prints English.

Terminal
LANG=en_US.UTF-8 uv run shiritaibot run

Plugins and Skills

Plugins can provide English text for their replies and settings, and Skills can ship an English SKILL.en.md. Both follow the chat's language. See Your first plugin for how to write them.