(Merge into full official website PRD + Buyer App Development Document | English Version)
1. Frontend Website Multilingual Configuration (Web Public Portal)
1.1 Reserved Language List (Only these languages remain, all other languages removed)
- Chinese (zh-CN)
- English (en)
- German (de)
- French (fr)
- Russian (ru)
- Turkish (tr)
- Korean (ko)
- Japanese (ja)
- Spanish (es)
- Portuguese (pt)
- Arabic (ar) — Auto enable RTL layout
- Hindi (hi)
- Thai (th)
- Vietnamese (vi)
Development requirement: All unused language packs shall be deleted from front-end code, backend language configuration panel, translation database.
1.2 Language Pack Architecture Requirement
All front-end pages add independent language pack management layer
- All static text, button text, prompt text, page title, TDK copy stored in independent language JSON language packs
- No hard-coded text on any page
- Language pack path specification:
plaintext
/langs/zh-CN.json
/langs/en.json
/langs/de.json
/langs/fr.json
/langs/ru.json
/langs/tr.json
/langs/ko.json
/langs/ja.json
/langs/es.json
/langs/pt.json
/langs/ar.json
/langs/hi.json
/langs/th.json
/langs/vi.json
- Backend support one-click import/export language pack for batch translation editing
1.3 Automatic Language Loading Rule (GEO + Time Zone Trigger)
- System automatically identify visitor IP country, region, time zone via GEO service
- Match the most matching reserved language and automatically load corresponding language pack for first access
- Manual language switch by user has higher priority than automatic GEO detection; system save user language selection into browser local storage
- If the matched regional language is not in reserved list → default load English (en)
- Arabic visitors automatically trigger HTML RTL layout switch
2. Currency Configuration Rules (Web + Buyer App Unified)
2.1 Keep only two currencies, remove all other currency options
- USD (US Dollar)
- CNY (Chinese Yuan)
2.2 Currency display logic
- GEO detection automatically match recommended display currency:
- Visitors from overseas non-China regions: default display USD
- Visitors from Mainland China: default display CNY
- Users can manually switch between USD / CNY; selection saved locally
- Real-time exchange rate conversion between USD and CNY on product price, checkout page, order detail page
- Google Shopping feed only output selected currency price according to region rules
3. VOLEMI Flutter Buyer Mobile App Language Rules (All App Pages)
- The buyer app completely synchronizes the above 14 language list, consistent with web frontend
- Flutter built-in independent i18n language package resource files, all UI text read from language packs; zero hardcode text
- App first launch: obtain device location / IP GEO information → auto load matching language pack
- User manual language switch saved in app local storage, priority higher than automatic detection
- Arabic language mode: global automatic RTL layout flip for all pages
- All modules effective: homepage, category, product detail, login/register, checkout, order center, order details, AI customer service, personal center
4. Admin Mobile App Language Note
Admin backend mobile app language scope can be configured separately (not affected by front buyer side language reduction requirement)
5. SEO & Multilingual URL Synchronization Update
- Reserved language subdirectory route standard:
/zh-CN//en//de//fr//ru//tr//ko//ja//es//pt//ar//hi//th//vi/ - Remove all other unused language subdirectory routes
- Hreflang tags only output the above 14 language versions
- Each language corresponds independent sitemap XML
- Google Shopping multi-language feeds only generate for reserved languages
6. Key Development Checklist (Deliver to Dev Team)
- Clean up all redundant language files and database translation entries
- Build unified independent language pack layer for web frontend
- Implement GEO IP + time zone automatic language matching logic
- Lock available currency to USD & CNY only, delete other currency calculation logic
- Flutter Buyer App rebuild i18n language resource for the 14 languages
- All pages verify no hard-coded static text
- Test Arabic RTL global layout switch
- Test language manual switch storage & priority logic
- Test cross-device consistent language preference after user login