[bn] Infra setup and config for bn (#6905)

This commit is contained in:
Patrice Chalin 2025-05-16 04:54:31 -04:00 committed by GitHub
parent 16ee78a308
commit 72f768054e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 34 additions and 0 deletions

View File

@ -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

7
.cspell/bn-words.txt Normal file
View File

@ -0,0 +1,7 @@
অবজারভেবিলিটির
ইনকিউবেটিং
ইন্সট্রুমেন্টেশন
টেলিমেট্রি
মেট্রিকস
ইন্টিগ্রেট
জেনারেট

View File

@ -8,6 +8,7 @@
/content/en/blog/2019
/content/en/blog/202[23]
/content/bn
/content/ja
/content/zh

View File

@ -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

View File

@ -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",