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.
This commit is contained in:
51
frontend/src/i18n/locales/en/seo.json
Normal file
51
frontend/src/i18n/locales/en/seo.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"seo": {
|
||||
"default": {
|
||||
"title": "YourPart - Community, chat, forum, vocabulary trainer, Falukant and minigames",
|
||||
"description": "YourPart brings together community, chat, forums, blogs, a vocabulary trainer, the browser builder game Falukant and minigames in one platform.",
|
||||
"keywords": "YourPart, community, chat, forum, blog, vocabulary trainer, Falukant, minigames, free, private, privacy"
|
||||
},
|
||||
"home": {
|
||||
"title": "YourPart - Community, chat, forum, blogs, vocabulary trainer and games",
|
||||
"description": "YourPart is a community platform with chat, forums, blogs, a vocabulary trainer, the browser builder game Falukant and minigames.",
|
||||
"keywords": "YourPart, community, chat, forum, blogs, vocabulary trainer, browser game, Falukant, minigames, free, private",
|
||||
"jsonLdDescription": "Community platform with chat, forums, blogs, vocabulary trainer, Falukant and browser minigames."
|
||||
},
|
||||
"falukant": {
|
||||
"title": "Falukant - Medieval browser builder game on YourPart",
|
||||
"description": "Falukant is the medieval browser builder game on YourPart with trade, politics, family, education and character progression.",
|
||||
"keywords": "Falukant, browser game, builder game, medieval game, economy game, politics game, YourPart, free",
|
||||
"jsonLdDescription": "Medieval browser builder game with trade, politics, family and character progression.",
|
||||
"jsonLdName": "Falukant"
|
||||
},
|
||||
"minigames": {
|
||||
"title": "Minigames on YourPart - Match 3 and taxi in the browser",
|
||||
"description": "Discover browser minigames on YourPart: Match 3 and taxi offer quick rounds directly on the platform.",
|
||||
"keywords": "minigames, browser games, Match 3, taxi game, casual games, YourPart, free",
|
||||
"jsonLdDescription": "Browser minigames on YourPart with Match 3 and taxi.",
|
||||
"jsonLdCollectionName": "YourPart minigames"
|
||||
},
|
||||
"vocab": {
|
||||
"title": "Vocabulary trainer on YourPart - learn languages online",
|
||||
"description": "The YourPart vocabulary trainer helps you learn languages with interactive lessons, courses and exercises.",
|
||||
"keywords": "vocabulary trainer, learn languages, online learning, language courses, exercises, YourPart, free",
|
||||
"jsonLdDescription": "Interactive vocabulary trainer with courses, lessons and exercises for language learning.",
|
||||
"jsonLdName": "YourPart vocabulary trainer"
|
||||
},
|
||||
"blogList": {
|
||||
"title": "Blogs on YourPart - community posts and topics",
|
||||
"description": "Explore public blogs on YourPart with community posts, ideas, experiences and topics from many areas.",
|
||||
"keywords": "blogs, community blog, articles, posts, YourPart",
|
||||
"jsonLdDescription": "Public blogs and community posts on YourPart.",
|
||||
"jsonLdName": "Blogs on YourPart"
|
||||
},
|
||||
"blogPage": {
|
||||
"title": "Blogs on YourPart",
|
||||
"description": "Public blogs, posts and community content on YourPart.",
|
||||
"keywords": "blog, YourPart, community"
|
||||
},
|
||||
"blogPost": {
|
||||
"pageTitle": "{title} | Blog on YourPart"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user