[PR #11208] [CLOSED] fix(i18n): lang is always set to en-US #38315

Closed
opened 2026-04-25 11:23:42 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/11208
Author: @OrenZhang
Created: 3/5/2025
Status: Closed

Base: devHead: fix_lang


📝 Commits (2)

  • 1a51584 Merge pull request #10939 from open-webui/dev
  • 9ed3d8e fix(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

  • 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


🔄 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>
GiteaMirror added the pull-request label 2026-04-25 11:23:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#38315