Skip to content

Added french configurations for translation and translation for the adoption page#1

Merged
kayiganwa04 merged 3 commits intoi18n-fr/productfrom
i18n-fr/adoption
Mar 26, 2026
Merged

Added french configurations for translation and translation for the adoption page#1
kayiganwa04 merged 3 commits intoi18n-fr/productfrom
i18n-fr/adoption

Conversation

@kayiganwa04
Copy link
Copy Markdown

@kayiganwa04 kayiganwa04 commented Mar 26, 2026

Added French (fr) localization for the Adoption section and few configuration for language persistance

Summary

  • Add full French translation of the Adoption section (Scheme Guide, Hub Operations Guide) under /fr/adoption/
  • Configured VuePress with locale-specific navigation, sidebar, and language selector for English (/) and French (/fr/)
  • Added a locale-aware 404 page that displays French messages and links when on /fr/ paths
  • Implemented automatic language detection in enhanceApp.js that redirects French-speaking browsers to the /fr/ equivalent of the current page on first visit
  • Fixed image paths in French files to account for the extra directory depth (docs/fr/adoption/... vs docs/adoption/...)
  • Fixed TOC anchor links in 5 translated Scheme documents to match VuePress-generated slugs from French headings

Test plan

  • Verify the language dropdown appears and switching between English/Français works
  • Navigate through all French Adoption sidebar pages and confirm content renders with images
  • Click TOC links on Scheme documents (platform-operating-guideline, scheme-business-rules, etc.) and confirm scrolling works
  • Visit /fr/community/ and confirm the French 404 page is shown
  • Open the site in a French-language browser and confirm auto-redirect to /fr/
  • Confirm English pages remain unaffected

@kayiganwa04 kayiganwa04 requested a review from MaximeNzo March 26, 2026 11:19
@kayiganwa04 kayiganwa04 merged commit 0dd7d06 into i18n-fr/product Mar 26, 2026
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.

2 participants