Skip to content

Commit

Permalink
[i18n] Base config for zh (#4462)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored May 10, 2024
1 parent 2afeba0 commit 3c8e6e5
Showing 1 changed file with 11 additions and 1 deletion.
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

0 comments on commit 3c8e6e5

Please sign in to comment.