apache / apache/dubbo-website

Language switch

Open
#757 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
491
Forks
809
Avg merge
1d 6h
Merged PRs (30d)
6

Description

## Describe the proposal

As there's an English version of this page, it would be nice if the page could detect the preferred language (from browser) on load and switch accordingly. Also the drop-down to manually switch to English is hard to find for non-Chinese speakers. An option could be something generic like a globe icon, flags or then `中文 / English`. (Though that might not scale well if there's a plan to add more translations)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Chinese and English page versions in the Hugo website and reviewing the existing manual language dropdown. Determine how browser language preferences and additional translations should be handled; done means the preferred language is selected on load and the manual switch is easy to find without limiting future translations.

Written by the indexing model from the issue text.

Assessment

Tech stack
hugo
Domain
documentation, frontend, internationalization, localization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.