[Beta]: Chinese docs pages without a translation show English content
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 58/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- react, typescript
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 16.6k
- Forks
- 993
- Merge medio
- 20 h 21 min
- PR fusionados (30 d)
- 60
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de udecode/plate
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
[Beta]: After Enter saves an edited link URL, the link toolbar stays hidden while the caret is in the linkPosiblemente ocupada @zbeyens la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
udecode/plate#5314 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
[Beta]: The docs Demo example page starts with an empty editorPosiblemente ocupada @natamox la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
udecode/plate#5308 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de udecode/plate
Issues similares
-
b:minor bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
software-mansion/argent#1698 ·
Los mantenedores suelen responder en 1 día
-
e2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
redhat-developer/rhdh-plugin-export-overlays#4624 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
better-auth/better-auth#12132 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
automation missing-model model-sync provider:tinfoil
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
anomalyco/models.dev#12053 ·
Los mantenedores suelen responder en 1 día
-
o8 next debug build aborts on Glass to Dark appearance switch (nil identifier messaged before check)Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hurttlocker/o8#5112 ·