From 3c8e6e56d589d431370543e02754e4759db43fc2 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 10 May 2024 06:25:06 -0400 Subject: [PATCH] [i18n] Base config for zh (#4462) --- hugo.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hugo.yaml b/hugo.yaml index 8442e7b72322..d5a54c99300a 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -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] @@ -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 @@ -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