From ede15ae1a3549c5b4bf1a7e0611db5cba529b3f4 Mon Sep 17 00:00:00 2001 From: Ecency Date: Sun, 14 Jun 2026 09:02:28 +0000 Subject: [PATCH] fix(i18n): preserve hierarchy so Crowdin sync targets the existing source file Without preserve_hierarchy the Crowdin CLI flattens the source path to /en-US.json and forks a second, untranslated copy of every string instead of updating development/src/config/locales/en-US.json. That made the project report ~half its real translation progress. Keep the repo hierarchy so upload and download both resolve the existing translated file. --- crowdin.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crowdin.yml b/crowdin.yml index 9da8884d67..1e8091b569 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,3 +1,8 @@ +# Keep the repo path under the Crowdin branch (development/src/config/locales/en-US.json). +# Without this the CLI flattens the path to /en-US.json and forks a second, +# untranslated copy of every string instead of updating the existing file. +preserve_hierarchy: true + files: - source: /src/config/locales/en-US.json translation: /src/config/locales/%locale%.json