Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add built-in translations to the widget

Offen
#55 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@piyusshhjangid arbeitet bereits daran.

Seit 22.10.2026.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

help wanted widget

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 as WidgetLocaleStrings and registered in i18n.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.mdx lists 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.

Vorherrschende Sprache
TypeScript
Sterne
13
Forks
7
Ø Merge
3 Std. 33 Min.
Gemergte PRs (30 T.)
176

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus codercops/chatcops

Alle Issues in codercops/chatcops

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.