Initial implementation of localization
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"_comment": "Common UI strings shared across components",
|
||||
"buttons": {
|
||||
"createCommunityRule": "Create CommunityRule",
|
||||
"seeHowItWorks": "See how it works",
|
||||
"learnMore": "Learn more",
|
||||
"askOrganizer": "Ask an organizer"
|
||||
},
|
||||
"ariaLabels": {
|
||||
"followBluesky": "Follow us on Bluesky",
|
||||
"followGitlab": "Follow us on GitLab",
|
||||
"featureToolsAndServices": "Feature tools and services",
|
||||
"askOrganizerContact": "Ask an organizer - Contact an organizer for help"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"_comment": "AskOrganizer component translations",
|
||||
"title": "Still have questions?",
|
||||
"subtitle": "Get answers from an experienced organizer",
|
||||
"buttonText": "Ask an organizer",
|
||||
"buttonHref": "#contact",
|
||||
"ariaLabel": "Ask an organizer - Contact an organizer for help"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"_comment": "FeatureGrid component translations",
|
||||
"title": "We've got your back, every step of the way",
|
||||
"subtitle": "Use our toolkit to improve, document, and evolve your organization.",
|
||||
"linkText": "Learn more",
|
||||
"linkHref": "#",
|
||||
"ariaLabel": "Feature tools and services",
|
||||
"features": {
|
||||
"decisionMaking": {
|
||||
"labelLine1": "Decision-making",
|
||||
"labelLine2": "support",
|
||||
"ariaLabel": "Decision-making support tools"
|
||||
},
|
||||
"valuesAlignment": {
|
||||
"labelLine1": "Values alignment",
|
||||
"labelLine2": "exercises",
|
||||
"ariaLabel": "Values alignment exercises"
|
||||
},
|
||||
"membershipGuidance": {
|
||||
"labelLine1": "Membership",
|
||||
"labelLine2": "guidance",
|
||||
"ariaLabel": "Membership guidance resources"
|
||||
},
|
||||
"conflictResolution": {
|
||||
"labelLine1": "Conflict resolution",
|
||||
"labelLine2": "tools",
|
||||
"ariaLabel": "Conflict resolution tools"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"_comment": "Footer component translations",
|
||||
"organization": {
|
||||
"name": "Media Economies Design Lab",
|
||||
"email": "medlab@colorado.edu",
|
||||
"url": "https://communityrule.com"
|
||||
},
|
||||
"social": {
|
||||
"bluesky": {
|
||||
"handle": "medlabboulder",
|
||||
"ariaLabel": "Follow us on Bluesky",
|
||||
"url": "https://bsky.app/profile/medlabboulder"
|
||||
},
|
||||
"gitlab": {
|
||||
"handle": "medlabboulder",
|
||||
"ariaLabel": "Follow us on GitLab",
|
||||
"url": "https://gitlab.com/medlabboulder"
|
||||
}
|
||||
},
|
||||
"navigation": {
|
||||
"useCases": "Use cases",
|
||||
"learn": "Learn",
|
||||
"about": "About"
|
||||
},
|
||||
"legal": {
|
||||
"privacyPolicy": "Privacy Policy",
|
||||
"termsOfService": "Terms of Service",
|
||||
"cookiesSettings": "Cookies Settings"
|
||||
},
|
||||
"copyright": "© All right reserved"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"_comment": "HeroBanner component translations",
|
||||
"title": "Collaborate",
|
||||
"subtitle": "with clarity",
|
||||
"description": "Help your community make important decisions in a way that reflects its unique values.",
|
||||
"ctaText": "Learn how CommunityRule works",
|
||||
"ctaHref": "#",
|
||||
"imageAlt": "Hero illustration"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"_comment": "NumberedCards component translations",
|
||||
"title": "How CommunityRule works",
|
||||
"subtitle": "Here's a quick overview of the process, from start to finish.",
|
||||
"titleLg": "How CommunityRule helps",
|
||||
"buttons": {
|
||||
"createCommunityRule": "Create CommunityRule",
|
||||
"seeHowItWorks": "See how it works"
|
||||
},
|
||||
"cards": {
|
||||
"card1": {
|
||||
"text": "Document how your community makes decisions",
|
||||
"_comment": "First step card"
|
||||
},
|
||||
"card2": {
|
||||
"text": "Build an operating manual for a successful community",
|
||||
"_comment": "Second step card"
|
||||
},
|
||||
"card3": {
|
||||
"text": "Get a link to your manual for your group to review and evolve",
|
||||
"_comment": "Third step card"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import common from "./common.json";
|
||||
import heroBanner from "./components/heroBanner.json";
|
||||
import numberedCards from "./components/numberedCards.json";
|
||||
import askOrganizer from "./components/askOrganizer.json";
|
||||
import featureGrid from "./components/featureGrid.json";
|
||||
import footer from "./components/footer.json";
|
||||
import navigation from "./navigation.json";
|
||||
import metadata from "./metadata.json";
|
||||
|
||||
export default {
|
||||
common,
|
||||
heroBanner,
|
||||
numberedCards,
|
||||
askOrganizer,
|
||||
featureGrid,
|
||||
footer,
|
||||
navigation,
|
||||
metadata,
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"_comment": "Page metadata translations",
|
||||
"home": {
|
||||
"title": "CommunityRule - Build operating manuals for successful communities",
|
||||
"description": "Help your community make important decisions in a way that reflects its unique values.",
|
||||
"keywords": ["community", "governance", "decision-making", "operating manual"]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"_comment": "Navigation items",
|
||||
"useCases": "Use cases",
|
||||
"learn": "Learn",
|
||||
"about": "About"
|
||||
}
|
||||
Reference in New Issue
Block a user