[Docs] Make the custom site i18n-ready (string catalog, locale routing, logical CSS)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- css, typescript
Línea de trabajo
Start with docs/src/components/Header.astro, docs/astro.config.mjs, and docs/src/components/JourneyRoadmap.astro; also inspect ThemeToggle.astro for the hard-coded label cited in the issue. Read Astro’s existing i18n setup and map how UI strings, content collections, and page metadata are handled. Done means a stub Arabic locale builds and renders one page RTL, with UI strings and locale alternatives handled as described in the acceptance criteria.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
UI strings ('Support', 'GitHub', 'Toggle theme', 'On this page', stage names) are hard-coded in components and config. Starlight currently provides UI translations; the replacement should keep the door open for translations, including right-to-left scripts.
Location
docs/src/components/Header.astro:47-77docs/astro.config.mjs:24-59docs/src/components/JourneyRoadmap.astro
Evidence
Hard-coded strings: Header.astro ('Support', 'GitHub'), ThemeToggle.astro ('Toggle theme'), stage labels in astro.config.mjs. CSS uses physical properties (margin-left, pl-8, -left-[17px] in JourneyRoadmap).
Expected
Adding a locale requires only translation files and content, no component changes.
Proposed fix
Use Astro's built-in i18n routing (defaultLocale: 'en', prefixDefaultLocale: false); move UI strings to src/i18n/ui.ts with a typed t() helper; content collection keyed by locale with fallback to en; lang/dir on <html>; switch to logical CSS properties (ms-, ps-, inset-inline-start); hreflang alternates in the head.
Acceptance criteria
- No user-visible UI string literal in components (lint rule or test)
- A stub
arlocale builds and renders RTL correctly for one page
Repository audit, November 2026 · Phase 7 · Docs platform · evidence: found by code reading · ref platform-034
Generated by Claude Code
- Lenguaje dominante
- C++
- Estrellas
- 2
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
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 ibra-kdbra/Math-Problems
-
area: security-algorithms priority: P1 size: XS type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
ibra-kdbra/Math-Problems#417 ·
-
area: math-chaos priority: P3 size: S type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ibra-kdbra/Math-Problems#397 ·
-
area: docs-site good first issue priority: P3 size: XS type: chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ibra-kdbra/Math-Problems#379 ·
-
area: docs-site good first issue priority: P3 size: XS type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
ibra-kdbra/Math-Problems#378 ·
-
area: docs-site good first issue priority: P2 size: XS type: chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ibra-kdbra/Math-Problems#367 ·
Todos los issues de ibra-kdbra/Math-Problems
Issues similares
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backAbiertodifficulty:easy prio:low type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
NatronGitHub/openfx-supportext#311 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CachyOS/packageinstaller#211 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100