Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

fix mdbook config #21

Merged
merged 1 commit into from
Dec 29, 2023
Merged

fix mdbook config #21

merged 1 commit into from
Dec 29, 2023

Conversation

chenrui333
Copy link
Contributor

the language code for simplified Chinese should be zh-CN. This code is a combination of the ISO 639-1 two-letter language code for Chinese (zh) and the ISO 3166-1 alpha-2 country code for China (CN),

Signed-off-by: Rui Chen <rui@chenrui.dev>
@chenrui333
Copy link
Contributor Author

also looks like Chinese search is not supported, rust-lang/mdBook#1081

@@ -2,7 +2,7 @@
title = "学习 Zig"
description = "Learning Zig 中文翻译"
authors = ["ZigCC"]
language = "cn"
language = "zh-CN"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As always 👍

@jiacai2050 jiacai2050 merged commit 2970f2a into main Dec 29, 2023
@jiacai2050 jiacai2050 deleted the fix-mdbook-config branch December 29, 2023 02:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants