I use console.log(i18next?.language) and it show undefined, so const lang will always be en-US
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/11208
**Author:** [@OrenZhang](https://github.com/OrenZhang)
**Created:** 3/5/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `fix_lang`
---
### 📝 Commits (2)
- [`1a51584`](https://github.com/open-webui/open-webui/commit/1a51584fe02ba917e229f52367363ff783babd22) Merge pull request #10939 from open-webui/dev
- [`9ed3d8e`](https://github.com/open-webui/open-webui/commit/9ed3d8e0fa92bc20949f4f3055084d871658334b) fix(i18n): lang is always set to en-US
### 📊 Changes
**2 files changed** (+0 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `src/lib/i18n/index.ts` (+0 -3)
📝 `src/routes/+layout.svelte` (+2 -0)
</details>
### 📄 Description
### Fixed
- HTML lang is always set to en-US
---
### Additional Information
I use `console.log(i18next?.language)` and it show undefined, so `const lang` will always be `en-US`
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/11208
Author: @OrenZhang
Created: 3/5/2025
Status: ❌ Closed
Base:
dev← Head:fix_lang📝 Commits (2)
1a51584Merge pull request #10939 from open-webui/dev9ed3d8efix(i18n): lang is always set to en-US📊 Changes
2 files changed (+0 additions, -0 deletions)
View changed files
📝
src/lib/i18n/index.ts(+0 -3)📝
src/routes/+layout.svelte(+2 -0)📄 Description
Fixed
Additional Information
I use
console.log(i18next?.language)and it show undefined, soconst langwill always been-US🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.