Skip to content
Discussion options

You must be logged in to vote

You can use the i18n config even if you don't plan to translate your site:

https://docusaurus.io/docs/docusaurus.config.js#i18n

module.exports = {
  i18n: {
    defaultLocale: 'ru',
  },
};

This will also automatically translate theme labels to Russian, using these translations (that you can override):
https://github.com/facebook/docusaurus/blob/master/packages/docusaurus-theme-classic/codeTranslations/ru.json

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by slorber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants