-
Notifications
You must be signed in to change notification settings - Fork 0
Implement Bengali localization infrastructure with i18n, SMS encoding, and translation management #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
Copilot
wants to merge
6
commits into
main
Choose a base branch
from
copilot/add-bengali-localization-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ies, and schema updates Co-authored-by: rafiqul4 <124497017+rafiqul4@users.noreply.github.com>
Co-authored-by: rafiqul4 <124497017+rafiqul4@users.noreply.github.com>
Co-authored-by: rafiqul4 <124497017+rafiqul4@users.noreply.github.com>
Co-authored-by: rafiqul4 <124497017+rafiqul4@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Bengali localization for storefront and admin dashboard
Implement Bengali localization infrastructure with i18n, SMS encoding, and translation management
Dec 11, 2025
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.
Adds comprehensive Bengali (বাংলা) localization for Bangladesh market where 85% of users prefer Bengali UI and UTF-16 SMS encoding is required.
Core Infrastructure
ProductTranslationandCategoryTranslationwith unique constraints on[id, locale]/api/products/[id]/translationsand/api/categories/[id]/translationswith Zod validationNumber Formatting & Cultural Adaptations
SMS Encoding (UTF-16)
Translation Service Layer
UI Components
LanguageSwitcher: Dropdown with 🇧🇩 বাংলা / 🇺🇸 English, persists to cookie/i18n-demo: Interactive showcase of all formatting utilitiesFiles Added
Migration Required
npm run prisma:migrate:dev # Adds ProductTranslation, CategoryTranslation tablesDefault locale is Bengali (
bn). English routes prefixed with/en/*.Original prompt
This section details on the original issue you should resolve
<issue_title>[Phase 1.5] Bengali Localization Infrastructure</issue_title>
<issue_description>## Priority: P1
Phase: 1.5
Parent Epic: #28 (Bangladesh Payment Methods)
Estimate: 2 days
Type: Story
Overview
Implement comprehensive Bengali language support (বাংলা) for the entire storefront, admin dashboard, and customer communications. Bangladesh has 170+ million Bengali speakers, and 85% of e-commerce customers prefer Bengali interfaces. This feature uses next-intl for internationalization with proper UTF-16 encoding for SMS, Bengali number formatting, and seasonal templates.
Context
Bengali localization is essential for Bangladesh market:
Acceptance Criteria
next-intl Setup
/en/...and/bn/...pathsTranslation Files
common,auth,product,cart,checkout,dashboardDatabase Translations
Number Formatting
SMS Encoding
Email Templates
Storefront UI
Admin Dashboard
Cultural Adaptations
SEO & Metadata
<title>পণ্যের নাম | দোকানের নাম</title><link rel="alternate" hreflang="bn" href="/bn/..." />Technical Implementation
1. next-intl Configuration