From 64e7b178e5b8edfcb923d67b91ca8d5ca2e254aa Mon Sep 17 00:00:00 2001 From: ulferts Date: Fri, 5 Jun 2026 11:00:28 +0200 Subject: [PATCH] ignore one keys on interpolation check --- config/i18n-tasks-all-files.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/i18n-tasks-all-files.yml b/config/i18n-tasks-all-files.yml index a413111a90d..10be8bbb57d 100644 --- a/config/i18n-tasks-all-files.yml +++ b/config/i18n-tasks-all-files.yml @@ -19,3 +19,10 @@ data: - modules/*/config/locales/crowdin/%{locale}.seeders.yml - modules/*/config/locales/crowdin/%{locale}.yml - modules/*/config/locales/crowdin/js-%{locale}.yml + +ignore_inconsistent_interpolations: + # Ignore interpolations checks in the singular form. + # Some languages have simple pluralization form where 'one' is only used for exactly 1 item. + # Other languages such as Ukrainian and Serbian use 'one' also for 21, 31, 101, etc. + # Those will use the %{count} interpolation while the english source language will not have it. + - '*.one'