diff --git a/.cspell.yml b/.cspell.yml index a8049a444..5a79f8458 100644 --- a/.cspell.yml +++ b/.cspell.yml @@ -4,6 +4,7 @@ version: '0.2' language: en-US import: + - '@cspell/dict-bn/cspell-ext.json' - '@cspell/dict-es-es/cspell-ext.json' - '@cspell/dict-fr-fr/cspell-ext.json' - '@cspell/dict-pt-br/cspell-ext.json' @@ -31,6 +32,8 @@ languageSettings: dictionaryDefinitions: - name: en-words path: .cspell/en-words.txt + - name: bn-words + path: .cspell/bn-words.txt - name: es-palabras path: .cspell/es-palabras.txt - name: fr-mots @@ -39,10 +42,12 @@ dictionaryDefinitions: path: .cspell/pt-palavras.txt dictionaries: # Natural languages + - bn - es-es - pt-br - fr-fr # Local word lists + - bn-words - en-words - es-palabras - fr-mots diff --git a/.cspell/bn-words.txt b/.cspell/bn-words.txt new file mode 100644 index 000000000..e10a04926 --- /dev/null +++ b/.cspell/bn-words.txt @@ -0,0 +1,7 @@ +অবজারভেবিলিটির +ইনকিউবেটিং +ইন্সট্রুমেন্টেশন +টেলিমেট্রি +মেট্রিকস +ইন্টিগ্রেট +জেনারেট diff --git a/.prettierignore b/.prettierignore index ac7dcd09e..e94065028 100644 --- a/.prettierignore +++ b/.prettierignore @@ -8,6 +8,7 @@ /content/en/blog/2019 /content/en/blog/202[23] +/content/bn /content/ja /content/zh diff --git a/hugo.yaml b/hugo.yaml index 059fd79f6..ffdeb3718 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -21,6 +21,10 @@ languages: languageCode: en-US params: description: The OpenTelemetry Project Site + bn: + languageName: বাংলা (Bengali) + params: + description: ওপেনটেলিমেট্রি প্রকল্পের সাইট es: languageName: Español params: @@ -327,6 +331,22 @@ module: target: content/docs/specs/semconv/url/_index.md # DO NOT EDIT - semconv autogenerated mounts above - DO NOT EDIT + ## bn + - source: content/bn + target: content + lang: bn + # fallback pages + - source: content/en/_includes + target: content/_includes + lang: bn + - source: content/en/announcements + target: content/announcements + lang: bn + - excludeFiles: specs/* + source: content/en/docs + target: content/docs + lang: bn + ## es - source: content/es target: content diff --git a/package.json b/package.json index f46208e25..825a5e12b 100644 --- a/package.json +++ b/package.json @@ -114,6 +114,7 @@ "update:submodule": "set -x && git submodule update --remote ${DEPTH:- --depth 999} && git submodule foreach 'git fetch $(git remote | tail -1) --tags'" }, "devDependencies": { + "@cspell/dict-bn": "^1.0.1", "@cspell/dict-es-es": "^3.0.3", "@cspell/dict-fr-fr": "^2.3.0", "@cspell/dict-pt-br": "^2.4.0",