Skip to content

Language Support for LTC

Rishab Kumar edited this page Jan 27, 2023 · 3 revisions

For the language support, you will have to create a different directory under i18n. Each locale and plugin has its own i18n subfolder:

└── learntocloud
    ├── docs
    ├── 
    └── i18n
        ├── es
            ├── docusaurus-plugin-content-docs
                  ├── current
                       ├── Phase1

We also need to update docusaurus.config.js to include the new locales (languages):

  i18n: {
    defaultLocale: 'en',
    locales: ['en', 'fr', 'pt', 'ne']
  },