From 5d2c8369389013895264caf16e71d44bddabb22c Mon Sep 17 00:00:00 2001
From: physcik <mynameisgennadiy@vk.com>
Date: Sat, 11 Apr 2026 16:40:22 +0500
Subject: Language toggle

---
 front/src/Emelents/IndexElement.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'front/src/Emelents/IndexElement.tsx')

diff --git a/front/src/Emelents/IndexElement.tsx b/front/src/Emelents/IndexElement.tsx
index 4eda815..9914e89 100644
--- a/front/src/Emelents/IndexElement.tsx
+++ b/front/src/Emelents/IndexElement.tsx
@@ -1,7 +1,11 @@
+import { useState } from "react";
+import { GetString } from "../Locales/Locales";
+
 function IndexElement() {
+    const [lang, setLang] = useState('en');
     return (
         <div>
-            <h1> Index element </h1>
+            <h1> {GetString("index", lang)} </h1>
         </div>
     );
 }
-- 
cgit v1.3

