Repository navigation
docs(i18n): add comprehensive contributor guide for internationalization - #413
Merged
Merged
Conversation
Contributor
Greptile SummaryThis documentation-only PR adds a comprehensive internationalization contributor guide and links it from the repository’s primary documentation indexes.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| docs/i18n.md | Adds the internationalization architecture, translation workflow, language scaffolding, RTL guidance, and command reference. |
| CONTRIBUTING.md | Links contributors to the new internationalization guide. |
| README.md | Adds translation-contribution guidance and an internationalization documentation link. |
| docs/README.md | Registers the internationalization guide in the current documentation index. |
Reviews (2): Last reviewed commit: "docs(i18n): clarify test:translations sc..." | Re-trigger Greptile
This was referenced Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
docs(i18n): add comprehensive contributor guide for internationalization (#384)
What Changed
docs/i18n.mdproviding contributor guidelines for internationalization, including architecture overview, translation editing, language scaffolding (npm run i18n:add), and RTL layout support.CONTRIBUTING.md,README.md, anddocs/README.mdto link and index the new internationalization guide.Risk Assessment
✅ Low: The changes are documentation-only additions and updates covering internationalization workflows, with accurate code examples and verified links.
Testing
Executed git diff whitespace checks, tested all relative markdown links across docs/i18n.md, docs/README.md, CONTRIBUTING.md, and README.md, verified npm run i18n:add scaffolding CLI options and atomic copy guarantees, validated cheat sheet script availability, and passed all i18n and RTL test suites with zero failures.
Evidence: i18n Documentation & Scaffolding Verification Log
Evidence: i18n Parity & Integrity Check Log
Evidence: RTL Test Suites Verification Log
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 1 issue found → auto-fixed ✅
docs/i18n.md:116- Indocs/i18n.mdStep 2 (lines 116-140) and line 190, the exampleLANGUAGESconfiguration and field reference do not match the TypeScriptLanguageConfiginterface infrontend/src/lib/i18n/languages.ts: propertydirectionis mistakenly written asdir, unnecessary propertiesidandnameare listed in the object literal (which violates TypeScript's excess property checking), andloadis written as returningm.defaultinstead of matching() => import('./messages/de.json'). Contributors copying this example will encounter TypeScript errors duringnpm run i18n:check.🔧 Fix: align i18n guide LANGUAGES example with LanguageConfig interface
✅ Re-checked - no issues remain.
tests/i18n-docs-verification.test.ts- new test file written by agent: tests/i18n-docs-verification.test.tsgit diff --checknpx ts-node --transpile-only -P tests/tsconfig.json tests/i18n-docs-verification.test.tsnpm run i18n:checknpm run test:translationsnpm run test:rtl-foundationnpm run test:rtl-setup-auth-settingsnpm run test:rtl-dashboard-pos-commonnpm run test:rtl-kds-server-whatsapp✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.