From 5bdd4ad401c4972a42e28762842295adc19fe38c Mon Sep 17 00:00:00 2001 From: Daniel O'Grady <103028279+daogrady@users.noreply.github.com> Date: Thu, 7 May 2026 13:54:00 +0200 Subject: [PATCH 1/2] Update cds-i18n.md --- node.js/cds-i18n.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.js/cds-i18n.md b/node.js/cds-i18n.md index 1965160183..ff76f0b239 100644 --- a/node.js/cds-i18n.md +++ b/node.js/cds-i18n.md @@ -657,7 +657,7 @@ cds.env.i18n = { ::: danger -Changing these configurations does not only affect your usage of your i18n bundles, but also all bundles provided by reuse packages you might use, including the ones provided by the CAP framework itself, such as the labels for the `@sap/cds/common` types, or the default messages used by the Node.js runtime. +Changing these configurations does not only affect your usage of your i18n bundles, but also all bundles provided by reuse packages you might use, including the ones provided by the CAP framework itself, such as the labels for the `@sap/cds/common` types, or the default messages used by the Node.js runtime. It is therefore highly recommended to leave this setting as is and adhere to the default name `_i18n` for your i18n directory. ::: From dc4eaad98335b29700e695c212d7a65df50f926c Mon Sep 17 00:00:00 2001 From: Daniel O'Grady <103028279+daogrady@users.noreply.github.com> Date: Thu, 7 May 2026 14:37:04 +0200 Subject: [PATCH 2/2] Update node.js/cds-i18n.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: René Jeglinsky --- node.js/cds-i18n.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.js/cds-i18n.md b/node.js/cds-i18n.md index ff76f0b239..3d1f8e0845 100644 --- a/node.js/cds-i18n.md +++ b/node.js/cds-i18n.md @@ -655,7 +655,7 @@ cds.env.i18n = { | `cds.i18n.folders` | An array of (relative) folder names that will be appended to the source directories in a cross-product fashion of the default `cds.model` when fetching for existing i18n [`folders`](#folders).
*Default:* `["_i18n","i18n"]` | | `cds.i18n.default_language` | The locale used for [default translations](#defaults).
*Default:* `"en"` | -::: danger +::: danger Do not switch defaults without proper evaluation Changing these configurations does not only affect your usage of your i18n bundles, but also all bundles provided by reuse packages you might use, including the ones provided by the CAP framework itself, such as the labels for the `@sap/cds/common` types, or the default messages used by the Node.js runtime. It is therefore highly recommended to leave this setting as is and adhere to the default name `_i18n` for your i18n directory.