kmesh-net/website

Chinese (zh) locale does not fully translate blog content, but only headers and navigation

Offen

#267 geöffnet am 11.01.2026

 (4 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (71 Forks)auto 404
good first issue

Repository-Metriken

Stars
 (11 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description

When switching the website language to Chinese (zh / 简体中文) using the language selector, only the navigation, headings, and some metadata are translated. The main blog content, sidebar entries, and section text remain in English.

This behavior is inconsistent across blog pages and creates a partially localized experience.

Some Affected Pages or Examples

Observed Behavior

  • ✅ Header, footer, navigation labels are translated
  • ✅ Page metadata (date, reading time) is translated
  • ❌ Blog body content remains in English
  • ❌ Sidebar blog list items remain in English
  • ❌ Table of contents entries remain in English

Expected Behavior

When a user selects Chinese (zh):

  • Blog pages should either:
    • Fully display Chinese-translated content, or
    • Clearly fall back to English consistently (not mixed)

Screenshots

Attached screenshots show multiple sections where content is not translated despite zh locale being active.

Possible Cause

This may be due to:

  • Missing Chinese (zh) markdown/MDX files for blog posts
  • i18n configuration only applied to UI components, not content pages
  • Incomplete localization pipeline for blog content

Environment

  • Browser: Chrome / Safari
  • OS: macOS
  • Locale selected: 简体中文 (zh)

Contributor Guide