Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[i18n] Base config for zh #4462

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cSpell:ignore docsy goldmark netlify wordmark
# cSpell:ignore docsy goldmark linkify netlify wordmark
baseURL: https://opentelemetry.io
title: OpenTelemetry
disableKinds: [taxonomy]
Expand All @@ -8,11 +8,18 @@ enableGitInfo: true

# Language settings
enableMissingTranslationPlaceholders: true
defaultContentLanguage: en

languages:
en:
languageName: English
params:
description: The OpenTelemetry Project Site
zh:
disabled: true
languageName: 中文 (Chinese)
params:
description: OpenTelemetry 项目网站

imaging:
resampleFilter: CatmullRom # cspell:disable-line
Expand Down Expand Up @@ -207,6 +214,9 @@ module:
mounts:
- source: content/en
target: content
- source: content/zh
target: content
lang: zh
- source: tmp/otel/specification
target: content/docs/specs/otel
- source: tmp/opamp
Expand Down