Multilingual blog support language-exclusive article #7378
Labels
closed: duplicate
This issue or pull request already exists in another issue or pull request
domain: i18n
Related to the i18n system
feature
This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Have you read the Contributing Guidelines on issues?
Description
Could docusaurus support language-exclusive article?
For example, there are some article:
This kind of article exists at
blog/
andi18n/zh-cn/docusaurus-plugin-content-blog/
, so this article could show on en and zh-cn site.This kind of article only exists at
blog/
, but this article should be displayed on en and zh-cn site.This kind of article only exists at single folder, and only showed at corresponding site.
For example,
chinese-only-blog.md
ati18n/zh-cn/docusaurus-plugin-content-blog/
, only showed at zh-cn site.english-only-blog.md
atblog/
, only showed en site.For distinguish language-exclusive article and multilingual article, could we introduce a new option at frontmatter?
And there is an example project.
Has this been requested on Canny?
No
Motivation
To support multilingual content more natively.
API design
No response
Have you tried building it?
No response
Self-service
The text was updated successfully, but these errors were encountered: