> ## Documentation Index
> Fetch the complete documentation index at: https://docs.botmux.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 国际化

> 多语言界面支持

BotMux 的 Web 界面支持英语和俄语。

## 使用方法

使用侧边栏顶部的 **EN/RU** 按钮切换语言。偏好设置保存在 `localStorage` 中，切换后即时生效，无需刷新页面。

## 实现方式

翻译定义在 `templates/index.html` 中的 `i18n` 对象中，包含 `en` 和 `ru` 的键。`t(key)` 函数返回当前语言的字符串。`applyLang()` 重新渲染所有静态和动态内容。
