Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Translate the interface (i18n foundation)

Abierto
#29 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, next.js

Línea de trabajo

Start by checking frontend/package.json to identify the Next.js version, then read the pages and components under frontend/pages/ and frontend/components/ for core-loop text. Choose a compatible i18n library and explain the choice in the pull request. Done means English plus one complete second language, locale-aware formatting and language selection, passing npm test, npm run lint and node scripts/check-boundary.js, with battle-page screenshots in both languages.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement help wanted

All interface text is hard-coded English across frontend/pages/ and frontend/components/. Competitive programming communities are huge in India, Brazil, China, Korea, Vietnam and Eastern Europe, and a translated interface opens CodeArena to them.

Phase 1, the foundation (this issue)

  • Add an i18n library that works with the Next.js version in frontend/package.json. Explain the choice in the pull request.
  • Move strings for the core loop into message files: home, login and register, practice, problem page, matchmaking, battle and results. Other pages can follow in later pull requests.
  • Language picker in settings and the footer, remembered per player. Default from the browser's language.
  • Format numbers, dates and times with the player's locale.
  • Problem statements stay in English for now. Translating problems is a separate design question.

Rules

  • No string concatenation for sentences. Use the library's interpolation and plural rules, since word order and plurals differ by language.
  • A lint check or test that fails when a core-loop page renders a hard-coded English string.
  • Missing translations fall back to English, never to a key name.

Definition of done

  • English extracted for the pages above, plus one complete second language from a fluent speaker.
  • Screenshots of the battle page in both languages, including a long-text language to catch layout overflow.
  • npm test, npm run lint and node scripts/check-boundary.js pass.

Translators: once phase 1 lands, comment here with the language you want to take.

Lenguaje dominante
JavaScript
Estrellas
0
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de sennaicodes/codearena

Todos los issues de sennaicodes/codearena

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.