diff --git a/README.md b/README.md
index 859a93c..b830889 100644
--- a/README.md
+++ b/README.md
@@ -75,6 +75,22 @@ yarn build
yarn lint
```
+### Internationalization
+
+This project uses `vue-i18n` for internationalization. All locale files are located in the `src/locales` directory.
+
+**Adding or Updating Translations**
+
+To add or update a translation for an existing language, edit the corresponding JSON file in `src/locales`. For example, to update a French translation, you would edit `src/locales/fr.json`.
+
+**Adding a New Language**
+
+1. Create a new JSON file in `src/locales` with the two-letter locale code for the new language (e.g., `es.json` for Spanish).
+2. Copy the contents of `src/locales/en.json` into your new file.
+3. Translate all the string values into the new language.
+4. Import the new locale file in `src/main.js` and add it to the `messages` object in the `createI18n` configuration.
+5. Add the new language to the `languageNames` object in `src/App.vue` to make it available in the language switcher.
+
### Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
diff --git a/package.json b/package.json
index 449a4b0..802639c 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"dotenv": "^17.2.3",
"moment": "^2.30.1",
"vue": "^3.5.22",
+ "vue-i18n": "^11.2.1",
"vue-router": "^4.6.3",
"vue3-flip-countdown": "^0.1.6",
"vue3-markdown-it": "^1.0.10"
@@ -27,6 +28,7 @@
"eslint-plugin-vue": "~10.5.0",
"globals": "^16.4.0",
"vite": "^7.1.11",
- "vite-plugin-vue-devtools": "^8.0.3"
+ "vite-plugin-vue-devtools": "^8.0.3",
+ "vue-eslint-parser": "^10.2.0"
}
}
diff --git a/src/App.vue b/src/App.vue
index 712ecf4..e926272 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,5 +1,16 @@