Warn on unsupported pack languages and document how to add a game language
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 54/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Start with packages/engine/src/messages/index.ts and packages/engine/src/analyze.ts to see how catalogs and analyzer warnings are handled; check packages/engine/src/playtime.ts for the default reading speed. Read CONTRIBUTING.md and the prompt kit to find where language guidance belongs, then use the existing analyzer tests as a starting point. Done means unsupported primary language tags warn, supported tags do not, and the guide lists the files a new language touches.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
The schema accepts any BCP 47 tag in language, but the engine has message catalogs and parser vocabularies only for German and English (packages/engine/src/messages). Any other language silently falls back to English engine messages and parser words, so a French pack would mix French story text with English system messages and an English parser. ADR 0008 and docs/architecture.md (section 9) describe a new game language as an additive change, and the v0.2 milestone includes more engine messages and languages.
Scope
- Analyzer: a warning (for example
language.unsupported) when the primary subtag oflanguagehas no catalog, naming the supported languages; listed in Appendix A. - A section "Adding a game language" in CONTRIBUTING.md: message catalog, parser vocabulary (verbs, directions, stop words, prepositions, particles, meta words), default reading speed for the play-time estimate, parser tests, and accepting the code in the docs.
- A first additional language is tracked in its own issue once a native-speaking contributor volunteers.
Acceptance criteria
- A pack with
language: frgets the warning;de,de-AT,enanden-GBdo not. - The guide section exists and lists every file a new language touches.
- The prompt kit tells LLMs which pack languages are supported.
References
- packages/engine/src/messages/index.ts
- packages/engine/src/analyze.ts
- packages/engine/src/playtime.ts
- docs/adr/0008-language-policy.md
- docs/architecture.md (section 9)
- CONTRIBUTING.md
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 28 min
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 nullthrone/lexvm
-
area: web good first issue priority: low type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
nullthrone/lexvm#49 ·
-
area: infra good first issue priority: low type: chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
nullthrone/lexvm#41 ·
-
area: engine good first issue priority: low type: feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
nullthrone/lexvm#27 ·
-
area: web priority: low type: research
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
nullthrone/lexvm#63 ·
-
area: infra area: web priority: medium type: chore
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
nullthrone/lexvm#62 ·
Todos los issues de nullthrone/lexvm
Issues similares
-
area:desktop bug documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
anthropics/claude-code#104801 ·
Los mantenedores suelen responder en 1 día
-
Add: Halloween Non Stop SDAbiertocheck:passed streams:add
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
spudly/design-system#110 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefixPosiblemente ocupada @ItsDeadlyProgrammer la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
appsmithorg/appsmith#42471 · 1 comentario ·
Los mantenedores suelen responder en 2 días