From daf0eb1f4549527cac8b8ebb3c4918c9f46b86af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Thu, 30 Jan 2025 13:47:05 +0100 Subject: [PATCH] Fix: Fallback to English term for missing translations Use English term if no translation for the specified locale is available by considering an empty string in a json locale file as "not translated". --- src/gmp/locale/lang.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gmp/locale/lang.js b/src/gmp/locale/lang.js index d8cd671dde..3f22915ba7 100644 --- a/src/gmp/locale/lang.js +++ b/src/gmp/locale/lang.js @@ -41,6 +41,7 @@ const I18N_OPTIONS = { }, supportedLngs: whitelist, nonExplicitSupportedLngs: false, + returnEmptyString: false, interpolation: { skipOnVariables: false, },