Skip to content
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

feat: add language selector #67

Closed
wants to merge 1 commit into from

Conversation

EvanSchleret
Copy link

Hi there!

I wanted to add the ability to use multiple languages based on this template. I saw an open issue raising this question (issue #42). My proposal is probably not the most elegant, but it gets the job done. However, I am open to any better suggestions, especially to make it more "elegant", particularly for the first refreshNavigation() in the onMounted() of docs.vue.

Available if needed :)

@benjamincanac
Copy link
Contributor

Thanks for the proposal, but I don't think we should add this feature by default as most docs don't use i18n. It's also pretty simple to achieve using @nuxt/content locales option.

@EvanSchleret
Copy link
Author

No problem, thanks for looking into it

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.

None yet

2 participants