From d296f44031404d43147dca37bb9522ce2065300a Mon Sep 17 00:00:00 2001 From: Yaroslav Serhieiev Date: Wed, 19 Jan 2022 19:19:41 +0200 Subject: [PATCH] docs(i18n): amend PR #6371 (#6406) --- website/docs/api/docusaurus.config.js.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docs/api/docusaurus.config.js.md b/website/docs/api/docusaurus.config.js.md index 28fed29987..d3d4939aea 100644 --- a/website/docs/api/docusaurus.config.js.md +++ b/website/docs/api/docusaurus.config.js.md @@ -133,10 +133,12 @@ module.exports = { en: { label: 'English', direction: 'ltr', + htmlLang: 'en-US', }, fr: { label: 'Français', direction: 'ltr', + htmlLang: 'fr-FR', }, }, }, @@ -145,6 +147,7 @@ module.exports = { - `label`: the label to use for this locale - `direction`: `ltr` (default) or `rtl` (for [right-to-left languages](https://developer.mozilla.org/en-US/docs/Glossary/rtl) like Arabic, Hebrew, etc.) +- `htmlLang`: BCP 47 language tag to use in `` and in `` ### `noIndex` {#noindex}