diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 9a15818..4f5d5e5 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,12 +4,11 @@
-
+
-
-
-
-
+
+
+
@@ -262,6 +261,7 @@
"RunOnceActivity.git.unshallow": "true",
"Vitest.compute function (1).executor": "Run",
"Vitest.compute function.executor": "Run",
+ "Vitest.generatePassword.executor": "Run",
"Vitest.mergeText.executor": "Run",
"Vitest.mergeText.should merge lines and preserve blank lines when deleteBlankLines is false.executor": "Run",
"Vitest.mergeText.should merge lines, preserve blank lines and trailing spaces when both deleteBlankLines and deleteTrailingSpaces are false.executor": "Run",
@@ -326,11 +326,18 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -385,19 +392,19 @@
-
+
+
-
@@ -510,15 +517,7 @@
-
-
-
-
- 1743644598841
-
-
-
- 1743644598841
+
@@ -904,7 +903,15 @@
1752512678963
-
+
+
+ 1752514466233
+
+
+
+ 1752514466233
+
+
@@ -951,7 +958,6 @@
-
@@ -976,7 +982,8 @@
-
+
+
false
diff --git a/README.md b/README.md
index 9d6e367..1f13c2c 100644
--- a/README.md
+++ b/README.md
@@ -148,16 +148,38 @@ npm run test
npm run test:e2e
```
+### 🌐 i18n (Translations)
+
+We use **[Locize](https://locize.com)** for managing translations.
+
+### 🔁 Workflow
+
+1. **Join the Locize project** via the [invitation link](https://www.locize.app/register?invitation=Uk9mvOCKkB7sjuUqI5jDBjZROveZIvdBQqzrpmB4oQtT1LNB4BnzzT0S0o1gx79N).
+
+2. **Pull latest translations** before editing:
+ ```bash
+ npm run i18n:pull
+ ```
+3. **Edit translation files** in `public/locales/{lang}/{namespace}.json`.
+4. Make sure `LOCIZE_API_KEY` is available in your environment (e.g., in `.env`).
+5. **Push your changes** after editing:
+ ```bash
+ npm run i18n:sync
+ ```
+
+
## 🤝 Looking to contribute?
We welcome contributions! You can help by:
-- ✅ Reporting bugs
-- ✅ Suggesting new features in GitHub issues or [here](https://tally.so/r/nrkkx2)
-- ✅ Improving documentation
-- ✅ Submitting pull requests
+- Reporting bugs
+- Suggesting new features in GitHub issues or [here](https://tally.so/r/nrkkx2)
+- Translating in [Locize project](https://www.locize.app/register?invitation=Uk9mvOCKkB7sjuUqI5jDBjZROveZIvdBQqzrpmB4oQtT1LNB4BnzzT0S0o1gx79N).
+- Improving documentation
+- Submitting pull requests
+
You can also join our [Discord server](https://discord.gg/SDbbn3hT4b)
diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx
index 44389a9..fe46a2e 100644
--- a/src/components/Navbar/index.tsx
+++ b/src/components/Navbar/index.tsx
@@ -43,7 +43,9 @@ const Navbar: React.FC = ({
};
const handleLanguageChange = (event: any) => {
- i18n.changeLanguage(event.target.value);
+ const newLanguage = event.target.value;
+ i18n.changeLanguage(newLanguage);
+ localStorage.setItem('lang', newLanguage);
};
const navItems: { label: string; path: string }[] = [
diff --git a/src/i18n/index.ts b/src/i18n/index.ts
index eae0cde..03582b4 100644
--- a/src/i18n/index.ts
+++ b/src/i18n/index.ts
@@ -42,7 +42,7 @@ export type FullI18nKey = {
}[I18nNamespaces];
i18n.use(initReactI18next).init({
- lng: 'en',
+ lng: localStorage.getItem('lang') || 'en',
fallbackLng: 'en',
debug: false,
backend: useLocize