From 8588a1fd7dbf4b0f9d446e119de6965884b6e3ef Mon Sep 17 00:00:00 2001 From: Rainer Simon Date: Sun, 18 Apr 2021 13:12:44 +0200 Subject: [PATCH] Bugfix regarding UI label overrides --- src/utils/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/index.js b/src/utils/index.js index a6f7e5b..eabe418 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -37,5 +37,7 @@ export const setLocale = (locale, opt_messages) => { } catch (error) { console.warn(`Unsupported locale '${l}'. Falling back to default en.`); } + } else { + I18n.init(null, opt_messages); } }