dbeaver / dbeaver/cloudbeaver

Use the `Accept-Language header` to switch the language when first opening the web UI of `dbeaver/cloudbeaver`

Open
#4,598 1 comment 0 reactions 0 assignees View on GitHub
xf:accessibility
Dominant language
TypeScript
Stars
5.1k
Forks
563
Avg merge
3d 9h
Merged PRs (30d)
59

Description

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

- No.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

- Use the `Accept-Language header` to switch the language when first opening the web UI of `dbeaver/cloudbeaver`. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept-Language .
- If a user executes the following command in Ubuntu WSL 26.04,
```bash
docker pull gh-proxy.org/docker/dbeaver/cloudbeaver:26.1.5
docker tag gh-proxy.org/docker/dbeaver/cloudbeaver:26.1.5 dbeaver/cloudbeaver:26.1.5

tee ./cloudbeaver.yaml <
- Image
- If we could check https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept-Language to switch languages ​​when the webpage is first opened, it would obviously avoid the embarrassment for some people who don't understand English.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

- To be honest, I don't think there's a more reasonable solution than `Accept-Language header`. Some external discussions surrounding browser standards can be found at https://x.com/iseki_zero/status/2091304187896508449?s=20 .

**Additional context**
Add any other context or screenshots about the feature request here.

- Null.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the web UI's language initialization and checking how supported locales are selected when the application first loads. Reproduce the report in Microsoft Edge with Simplified Chinese and verify that the initial interface language follows the browser's Accept-Language header while manual language selection continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, localization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.