Skip to content

DX-064: Add internationalisation scaffolding - #646

Merged
IbrahimIjai merged 3 commits into
SO4-Markets:mainfrom
0xBernny:0xBernny-internationalisation
Sep 6, 2026
Merged

DX-064: Add internationalisation scaffolding#646
IbrahimIjai merged 3 commits into
SO4-Markets:mainfrom
0xBernny:0xBernny-internationalisation

Conversation

@0xBernny

@0xBernny 0xBernny commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description

This pull request introduces the fundamental infrastructure layer for internationalized locale routing across the documentation workspace. Rather than introducing structural content mutations, this change establishes critical programmatic seams enabling future translation capabilities cleanly without altering default core paths.

Key changes introduced:

  1. Created an isolated message catalog framework (src/locales/en.json) separating documentation chrome text schemas from presentation layers.
  2. Built a dynamic LocaleProvider context mapping engine managing missing asset fallback visibility banners without route termination.
  3. Added route detection routing handlers (lib/i18n.ts) ensuring default languages remain unprefixed while composing alongside active API route version layouts cleanly.

Related Issues

Checklist

  • I have read the CONTRIBUTING.md guidelines.
  • I have updated the documentation accordingly.
  • I have added/updated tests for my changes.
  • All CI validations pass.

Add English localization for the Chrome sidebar.
Implement LocaleProvider for managing locale context and translations.
Add i18n configuration and locale extraction function
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

@0xBernny is attempting to deploy a commit to the Ijai's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Sep 3, 2026

Copy link
Copy Markdown

@0xBernny Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@IbrahimIjai
IbrahimIjai merged commit c79a042 into SO4-Markets:main Sep 6, 2026
1 check failed
@0xBernny

0xBernny commented Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

hello maintainer, please i am yet to receive points for issue #560 and #576

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DX-064: Add internationalisation scaffolding

2 participants