nuxt-ui-pro / docs

A documentation template made with Nuxt UI Pro.
https://docs-template.nuxt.dev
134 stars 38 forks source link

I18n Support #42

Open Mat4m0 opened 7 months ago

Mat4m0 commented 7 months ago

How to handle i18n translation with the docs? Is there a recommended way for this?

benjamincanac commented 7 months ago

The recommended module for this is https://github.com/nuxt-modules/i18n but I've never tried to plug it with @nuxt/ui-pro. You should be able to make it work in the docs template quite easily as you control all of the code. Let me know how it goes 😊

Mat4m0 commented 7 months ago

Nuxt Content is easy to understand for me, but to couple everything with i18n into one solution... Maybe you or some of your team members have time to build an example of how it could work in the best way with Nuxt Pro Docs. I don't think I'm the only one who finds this interesting. ;)

Speaking of which, I think a guide to the most important use docs cases (like Docusaurus) would be very, very helpful.

everfu commented 6 months ago

https://i18n.nuxtjs.org/

everfu commented 5 months ago

I see in the docs that it is possible to make the content i18n, but e.g. toc etc I didn't find the relevant content