Add built-in translations to the widget
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- internationalization
Línea de trabajo
Start with packages/widget/src/i18n.ts and the existing core locale files under packages/core/src/i18n/; then copy the test pattern from packages/core/tests/i18n/locales.test.ts. Pick one target language, add its typed locale file and registration, and check the widget keys in website/src/content/docs/widget/i18n.mdx. Done means the locale has all keys in native script, the widget i18n tests cover registered locales and fallback, and a changeset is included.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The docs say the widget ships 8 built-in locales, but packages/widget/src/i18n.ts only registers English, so any other locale silently falls back to English. Let's add the missing languages. This is a great fit for native speakers. Please comment with the language you're taking and open one PR per language.
Where to look
packages/widget/src/i18n.ts(WidgetLocaleStrings,locales)packages/core/src/i18n/*.ts. Use these as a starting point only: the es/fr/de files drop accents and the Hindi file is romanized.packages/core/tests/i18n/locales.test.ts(test pattern to copy)website/src/content/docs/widget/i18n.mdx
Acceptance criteria
- The first PR sets up the structure: one file per language in
packages/widget/src/locales/, typed asWidgetLocaleStringsand registered ini18n.ts, plus its own language - Target languages:
es,fr,de,hi,ja,zh,ar - All keys translated, with correct accents and native script (Devanagari for Hindi)
- New
packages/widget/tests/i18n.test.ts: every registered locale has a non-empty value for every key, and an unknown code falls back to English - The "Locale Strings" section of
widget/i18n.mdxlists the real widget keys - Changeset for
@chatcops/widget - Out of scope: right-to-left layout for Arabic (separate follow-up)
Comment with the language you want to take and I'll note it here. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #<this issue number>. Setup notes (pnpm, build before test) are in CONTRIBUTING.md.
- Lenguaje dominante
- TypeScript
- Estrellas
- 13
- Forks
- 7
- Merge medio
- 4 h 11 min
- PR fusionados (30 d)
- 122
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 codercops/chatcops
-
enhancement hacktoberfest help wanted server
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Document the pre-chat formPosiblemente ocupada @masyarakatai la tomó hace 4 días. Abiertodocumentation good first issue hacktoberfest widget
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
codercops/chatcops#70 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
enhancement hacktoberfest help wanted server
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
Create @chatcops/store-redis for Upstash and other Redis clientsPosiblemente ocupada @bhushan4work la tomó hoy. Abiertoenhancement hacktoberfest help wanted server
codercops/chatcops#248 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
enhancement hacktoberfest help wanted server
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de codercops/chatcops
Issues similares
-
area:editor bug issue-form:bug P0 platform:windows review: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
1lck/Lithe-IDEA#1388 ·
Los mantenedores suelen responder en 1 día
-
fix(api): isToolAuditEnabled swallows database read errors on auditToolOperations without loggingAbiertoarea: backend bug priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
snapotter-hq/SnapOtter#3238 ·
Los mantenedores suelen responder en 1 día
-
rig up --plan times out after 5 s and reports an UNKNOWN outcome while the daemon completes the planAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
filesystem: search_files does not expand non-wildcard excludePatterns like directory_tree doesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
modelcontextprotocol/servers#5216 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día