diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 0a82ca63..5a8085cf 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -31,7 +31,7 @@ const getConfig = async () => { i18n: { defaultLocale: 'en', - locales: ['en', 'fr-FR', 'pt-BR', 'ru-RU', 'zh-Hans'], + locales: ['en', 'fr-FR', 'pt-BR', 'ru-RU', 'es-ES', 'zh-Hans'], localeConfigs: { en: { label: 'English', @@ -53,6 +53,11 @@ const getConfig = async () => { direction: 'ltr', htmlLang: 'ru-RU' }, + 'es-ES': { + label: `Español (${translationProgress['es-ES'] || 0}%)`, + direction: 'ltr', + htmlLang: 'es-ES' + }, 'zh-Hans': { label: `简体中文 (${translationProgress['zh-CN'] || 0}%)`, direction: 'ltr',