From c5b88606051e68d88ccf088b75fc93e921ec1be1 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Tue, 7 Apr 2026 15:43:16 +0200 Subject: [PATCH] feat(seo): enhance multilingual support and SEO handling - Added support for multiple languages in the frontend, including English, Spanish, and Cebuano, improving accessibility for a broader audience. - Implemented hreflang links for better SEO performance, ensuring search engines can correctly index language-specific content. - Updated SEO metadata handling to utilize internationalization keys, enhancing the clarity and relevance of page titles and descriptions. - Refactored SEO utility functions to streamline the management of OpenGraph and hreflang attributes, improving maintainability and performance. --- frontend/index.html | 20 +- frontend/src/i18n/index.js | 8 + frontend/src/i18n/locales/ceb/seo.json | 51 +++++ frontend/src/i18n/locales/de/seo.json | 51 +++++ frontend/src/i18n/locales/en/seo.json | 51 +++++ frontend/src/i18n/locales/es/seo.json | 51 +++++ frontend/src/main.js | 35 ++++ frontend/src/router/blogRoutes.js | 21 +-- frontend/src/router/index.js | 21 +-- frontend/src/router/marketingRoutes.js | 52 +----- frontend/src/utils/seo.js | 248 ++++++++++++++++++++++++- frontend/src/views/blog/BlogView.vue | 25 ++- update.sh | 6 +- 13 files changed, 542 insertions(+), 98 deletions(-) create mode 100644 frontend/src/i18n/locales/ceb/seo.json create mode 100644 frontend/src/i18n/locales/de/seo.json create mode 100644 frontend/src/i18n/locales/en/seo.json create mode 100644 frontend/src/i18n/locales/es/seo.json diff --git a/frontend/index.html b/frontend/index.html index 38747f1..2ce889f 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -26,6 +26,9 @@ + + + @@ -33,11 +36,26 @@