Skip to content

Add mobile language selector#154

Merged
em3s merged 4 commits intomainfrom
feat/language-selector
Feb 2, 2026
Merged

Add mobile language selector#154
em3s merged 4 commits intomainfrom
feat/language-selector

Conversation

@em3s
Copy link
Copy Markdown
Contributor

@em3s em3s commented Feb 2, 2026

Summary

Add an inline language selector that displays available translations. Only appears on pages that have translations in other languages.

Changes

  • Add LanguageSelect.astro component that detects available translations and renders language links
  • Update PageSidebar.astro to include the language selector in both mobile and desktop views
  • Register LanguageSelect component override in astro.config.mjs

How to Test

  1. cd website && npm run dev
  2. Visit a translated page (e.g., /introduction/) - language selector shows "EN / KO"
  3. Visit an untranslated page (e.g., /guides/build-your-social-media-app/) - no selector shown
  4. On mobile, the selector appears next to the table of contents toggle

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. documentation Improvements or additions to documentation labels Feb 2, 2026
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Feb 2, 2026
@em3s
Copy link
Copy Markdown
Contributor Author

em3s commented Feb 2, 2026

image

EN / KO added in mobile view.

@em3s em3s changed the title feat(website): add inline language selector for translated pages feat(website): add mobile language selector Feb 2, 2026
@em3s em3s merged commit 7a850b4 into main Feb 2, 2026
10 checks passed
@em3s em3s self-assigned this Feb 6, 2026
@em3s em3s changed the title feat(website): add mobile language selector Add mobile language selector Feb 12, 2026
@em3s em3s deleted the feat/language-selector branch March 1, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant