From d325fdde6cea0cde86613a6a10f1b02c035fbcb1 Mon Sep 17 00:00:00 2001 From: Waleed Date: Tue, 14 Oct 2025 19:09:19 -0700 Subject: [PATCH] fix(i18n): exclude SDK files from automatic translation to prevent corruption (#1634) * fix(i18n): exclude SDK files from automatic translation to prevent corruption * fix(i18n): temporarily disable auto-translate action while fixing translation corruption * disable i18n action --- .github/workflows/i18n.yml | 13 +++++++------ apps/docs/i18n.json | 3 ++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml index cad647e3df..1096bbaf5a 100644 --- a/.github/workflows/i18n.yml +++ b/.github/workflows/i18n.yml @@ -1,12 +1,13 @@ name: 'Auto-translate Documentation' +# Temporarily disabled on: - push: - branches: [ staging ] - paths: - - 'apps/docs/content/docs/en/**' - - 'apps/docs/i18n.json' - workflow_dispatch: # Allow manual triggers + workflow_dispatch: # Allow manual triggers only + # push: + # branches: [ staging ] + # paths: + # - 'apps/docs/content/docs/en/**' + # - 'apps/docs/i18n.json' permissions: contents: write diff --git a/apps/docs/i18n.json b/apps/docs/i18n.json index 771a5158cf..aaa3ddc3ad 100644 --- a/apps/docs/i18n.json +++ b/apps/docs/i18n.json @@ -11,7 +11,8 @@ "content/docs/[locale]/*.mdx", "content/docs/[locale]/*/*.mdx", "content/docs/[locale]/*/*/*.mdx" - ] + ], + "exclude": ["content/docs/[locale]/sdks/*.mdx"] } } }