mirror of https://github.com/istio/istio.io.git
Use correct language code for Chinese content.
This commit is contained in:
parent
caa7e3295f
commit
d1e46e494e
|
@ -46,7 +46,7 @@ enableEmoji = true
|
|||
|
||||
# internationalization
|
||||
[languages]
|
||||
[languages.cn]
|
||||
contentDir = "content_cn"
|
||||
[languages.zh]
|
||||
contentDir = "content_zh"
|
||||
[languages.en]
|
||||
contentDir = "content"
|
||||
|
|
|
@ -11,4 +11,5 @@
|
|||
https://istio.netlify.com/* https://istio.io/:splat 301!
|
||||
|
||||
# Redirect to translated sites
|
||||
/ /cn 302 Language=zh
|
||||
# Uncomment the next line when Chinese is ready
|
||||
# / /zh 302 Language=zh
|
||||
|
|
Loading…
Reference in New Issue