[Beta]: Chinese docs pages without a translation show English content
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- react, typescript
- Ambito
- documentation, internationalization
Direzione di ricerca
Start with apps/www/src/app/(app)/docs/[[...slug]]/doc-page.tsx at lines 76–77 and compare how it selects the Chinese page with the English fallback. Then inspect content/docs/underline.cn.mdx alongside the English page; the report says the Chinese file exists but appears unused, while footnote and pagination lack Chinese files. Done means Chinese translations render when present and readers get an explicit fallback indication when a page has no translation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Testing lane
- Repository:
udecode/plate - Branch:
next - Release channel: Beta
- Exact commit/package version:
NOT_ENOUGH_INFO
Summary
After switching the docs language to 中文, many /cn/docs pages show only the site navigation in Chinese. The title, the text and the demo stay in English, with nothing that says the page has no translation. Sin hit it on /cn/docs/footnote, /cn/docs/pagination and /cn/docs/underline, on a desktop and on an Android phone, and reported that switching to Chinese still shows English. The switch itself works. platejs.org/cn shows English on these pages too, so this gap is shared with the released site.
Reproduction
Repro 1: /cn/docs/underline, Android Via
Recorded in Sin's session on 2026-10-24 (Beijing time), on a TYH212U phone (Android 11) in Via 5.6.1, which uses the system WebView 147.
- Open https://beta.platejs.org/docs/underline.
- Tap the language button at the top right and pick 中文.
Result: the URL becomes /cn/docs/underline, and the menu label changes to 菜单. The title Underline, its description and the Text Formatting demo stay in English. https://platejs.org/cn/docs/underline in Via is in English too.
Repro 2: other pages, desktop
- /cn/docs/footnote and /cn/docs/pagination: an agent following Sin's report opened both in Safari 27 on 2026-10-21. The navigation is Chinese, and the text and examples are English.
- /cn/docs/underline: an agent saw the same in a desktop Chromium 154 browser on 2026-10-23.
Expected
The Chinese page shows the docs in Chinese. That is Sin's expectation. Where a page has no translation yet, the reader gets English with no hint that it is a fallback.
Actual
As listed under Results.
Environment
- Exact
nextcommit/Beta package version:NOT_ENOUGH_INFO. The pages do not show their build. - Repro 1: TYH212U, Android 11, Via 5.6.1 with the system WebView 147, 2026-10-24 (Beijing time).
- Repro 2: Safari 27 on macOS, 2026-10-21; Chromium 154 on a desktop, 2026-10-23.
- Not tried on an iPhone. Not replayed on the live Beta after 2026-10-24.
Caveat
From a reading of the code and content on next 19023d2e3d:
- The docs route loads the Chinese page and falls back to the English one when there is none (
apps/www/src/app/(app)/docs/[[...slug]]/doc-page.tsx:76-77). content/docshas 208 English.mdxpages and 118.cn.mdxpages, so about 90 pages have no Chinese file.footnoteandpaginationare among them.underline.cn.mdxexists but holds no Chinese text. The deployed /cn/docs/underline also showed the English page's description,Add underlined inline text., whichunderline.cn.mdxdoes not have. Why the Chinese file was not used was not checked.
Evidence
- Repro 1: the recording from Sin's session, 0:26, the phone screen on the left and an English panel on the right. The language menu opens at 0:02, and from 0:18 the page is /cn/docs/underline with Chinese navigation and English content. An internal record number in the panel title is covered with a dark box.
- Screenshot: https://platejs.org/cn/docs/underline in Via, with the menu label 菜单 and the page in English. It is not part of the recording.
Repro 1 — Android Via 5.6.1, /cn/docs/underline
https://github.com/user-attachments/assets/a5510df7-adf8-411e-931b-95030609b314
stable Plate — platejs.org/cn/docs/underline in Via, also English
Related
- None.
- Lingua principale
- TypeScript
- Stelle
- 16.6k
- Fork
- 993
- Merge medio
- 20h 1m
- PR unite (30g)
- 61
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di udecode/plate
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
[Beta]: After Enter saves an edited link URL, the link toolbar stays hidden while the caret is in the linkForse già presa @zbeyens l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
udecode/plate#5314 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
[Beta]: The docs Demo example page starts with an empty editorForse già presa @natamox l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
udecode/plate#5308 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di udecode/plate
Issue simili
-
Add: MahdawiounTV HDApertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
iptv-org/iptv#56890 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
franciscoBSalgueiro/en-croissant#1061 ·
I maintainer di solito rispondono entro 3 giorni
-
S: triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
comp/desktop desktop/shell os/windows P3 tool/file type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
NousResearch/hermes-agent#145928 ·
I maintainer di solito rispondono entro 1 giorno