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

Add a pack translation pipeline

Abierto
#56 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
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
tooling

Línea de trabajo

Read docs/adr/0008-language-policy.md and docs/spec/content-pack.md sections 2 and 4, then inspect prompts/templates/ and packages/cli/src/generate/. Map the existing prompt and generation flows before implementing translation and structural verification. Done means both translation flows are documented in docs/authoring/pipeline.md, the German demo pack passes lexvm check with unchanged walkthrough and explored-state count, and a changed rule is rejected.

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

Descripción

area: cli area: pipeline priority: medium type: feature

Context

Games are translated as separate packs, not as multi-language packs (ADR 0008). Ids are language-neutral and walkthroughs use ids, so a translation can keep the logic and the walkthrough unchanged, and verification shows that the game itself was preserved.

Scope

  • A translate prompt template, lexvm prompt --stage translate --pack <dir> --lang <lang> for any LLM, and a translation mode of lexvm generate for the API (--translate <dir>).
  • Only player-facing text is translated: titles, names, descriptions, dialogue, hints, endings, exit labels, pack verb labels, {id|display text} forms. Synonyms are recreated idiomatically for the parser of the target language. Ids, rules, conditions, effects and the walkthrough stay the same.
  • A structural check that compares source and translation: identical ids, rule and effect structure, and walkthrough; only text fields may differ. A new diagnostic code for violations.
  • Provenance: generator.notes names the source pack and version; a new pack id; the source license must allow derivatives, and attribution is kept.
  • The play-time estimate uses the reading speed of the target language.

Acceptance criteria

  • Translating the demo pack to German yields a pack that passes lexvm check with the same walkthrough and the same number of explored states.
  • The structural check rejects a translation that changes a rule.
  • docs/authoring/pipeline.md documents both flows.

References

  • docs/adr/0008-language-policy.md
  • prompts/templates/
  • packages/cli/src/generate/
  • docs/spec/content-pack.md (sections 2 and 4)
Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Merge medio
28 min
PR fusionados (30 d)
2

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 nullthrone/lexvm

Todos los issues de nullthrone/lexvm

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.