From cbc222d4f7792296cbf7b1a69acb04381cc51bd5 Mon Sep 17 00:00:00 2001 From: Nicola Molinari Date: Tue, 17 Dec 2024 09:18:12 +0100 Subject: [PATCH] fix(i18n): regression with chinese locale for backwards compatibility (#3025) --- .changeset/shaggy-peaches-swim.md | 5 +++++ packages/i18n/data/zh-CN.json | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/shaggy-peaches-swim.md create mode 100644 packages/i18n/data/zh-CN.json diff --git a/.changeset/shaggy-peaches-swim.md b/.changeset/shaggy-peaches-swim.md new file mode 100644 index 0000000000..3bc46e51b5 --- /dev/null +++ b/.changeset/shaggy-peaches-swim.md @@ -0,0 +1,5 @@ +--- +'@commercetools-uikit/i18n': patch +--- + +Fix regression of removing the `zh-CN.json` file. Even though we don't support chinese locale anymore, we still need to keep the file (as empty) for backwards compatibility with Application Kit packages version `<22.36.0` as they still expect the file to be defined. diff --git a/packages/i18n/data/zh-CN.json b/packages/i18n/data/zh-CN.json new file mode 100644 index 0000000000..0967ef424b --- /dev/null +++ b/packages/i18n/data/zh-CN.json @@ -0,0 +1 @@ +{}