Skip to content

[BUG] <title> Theme Settings Drawer Shows Chinese Text When Language is Set to English #4004

@miantalha45

Description

@miantalha45

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The theme settings drawer displays Chinese text labels regardless of the selected language:

  • "主题色" (Theme Color)
  • "设置" (Settings)
  • "顶部" (Top)
  • "侧边栏" (Sidebar)
  • "内容" (Content)
  • "其它" (Other)
  • Other Chinese labels and descriptions
Image

Expected Behavior

All text in the theme settings drawer should be displayed in English when English is selected as the language, including:

  • "Theme Color" instead of "主题色"
  • "Settings" instead of "设置"
  • "Top" instead of "顶部"
  • "Sidebar" instead of "侧边栏"
  • "Content" instead of "内容"
  • "Other" instead of "其它"
  • All other labels and descriptions

Steps To Reproduce

The setting-drawer component from @delon/theme may need to:

  1. Use the application's i18n service to fetch translations
  2. Accept language/locale props to display correct translations
  3. Or be replaced/customized to use the HertzBeat i18n system

Environment

HertzBeat version(s):

Debug logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions