Update i18next and improve localization by integrating language detection. Refactor components to utilize translation functions for user-facing text, enhancing multilingual support across the application.

This commit is contained in:
2025-12-09 18:30:26 +05:00
parent 5f8a71e4ea
commit 33e26c3f2c
23 changed files with 396 additions and 119 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ function Chat2({ onClose }: Props) {
<div className="p-4 pb-2">
<div className="flex items-center justify-between border-b border-[#DAE0E5] pb-4">
<p className="text-sm font-semibold">
<Trans i18nKey={"chat"}>Чат демонстрации</Trans>
<Trans i18nKey={"chat.demoChat"}>Чат демонстрации</Trans>
</p>
<Button
variant="tertiary"