docs/intro.md to French.
docusaurus.config.js to add support for the
docs/intro.md file to the
i18n/fr/docusaurus-plugin-content-docs/current/intro.md in French.
Start your site on the French locale:
Your localized site is accessible at
http://localhost:3000/fr/ and the
Getting Started page is translated.
In development, you can only use one locale at a same time.
To navigate seamlessly across languages, add a locale dropdown.
The locale dropdown now appears in your navbar:
Build your site for a specific locale:
Or build your site to include all the locales at once: