From b2e6c040f154e7ae79bc41cf0e8b3e7d11113ae6 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Mon, 27 Nov 2023 19:14:58 +0100 Subject: [PATCH] [i18n] Format text to local lowercase (#481) --- src/i18n/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/index.ts b/src/i18n/index.ts index c59bdc98..55adac14 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -22,7 +22,7 @@ export const i18n = use(initReactI18next) format: (value, format) => { switch (format) { case 'lowercase': - return value.toLowerCase(); + return value.toLocaleLowerCase(); default: return value; }