Other Web Apps (Online)
Let's translate docs/intro.md to French.
Configure i18n​
Modify docusaurus.config.js to add support for the fr locale:
docusaurus.config.js
module.exports = {
i18n: {
defaultLocale: 'en',
locales: ['en', 'fr'],
},
};
Map Sources​
https://anygis.ru/Web/Html/Galileo_en
https://custom-map-source.appspot.com/
Start your localized site​
Start your site on the French locale:
npm run start -- --locale fr
Your localized site is accessible at http://localhost:3000/fr/ and the Getting Started page is translated.
caution
In development, you can only use one locale at a same time.