- Add translation support for menu links, footer links, and avatar links - Create `createTranslator` utility function for dynamic translations - Update marketing configuration to use translation-based menu and link generation - Modify navbar, footer, and user button components to use translated content - Add new "Common" translation keys for login and signup buttons - Refactor marketing configuration to dynamically generate links with translations - Improve internationalization across marketing-related components
206 lines
5.7 KiB
JSON
206 lines
5.7 KiB
JSON
{
|
|
"Common": {
|
|
"login": "Log in",
|
|
"signUp": "Sign up"
|
|
},
|
|
"HomePage": {
|
|
"title": "next-intl example"
|
|
},
|
|
"NotFoundPage": {
|
|
"title": "404",
|
|
"message": "Sorry, the page you are looking for does not exist.",
|
|
"backToHome": "Back to home"
|
|
},
|
|
"ErrorPage": {
|
|
"title": "Oops! Something went wrong!",
|
|
"tryAgain": "Try again",
|
|
"backToHome": "Back to home"
|
|
},
|
|
"AuthPage": {
|
|
"login": {
|
|
"title": "Login",
|
|
"welcomeBack": "Welcome back",
|
|
"email": "Email",
|
|
"password": "Password",
|
|
"signIn": "Sign In",
|
|
"signUpHint": "Don't have an account? Sign up",
|
|
"forgotPassword": "Forgot Password?",
|
|
"signInWithGoogle": "Sign In with Google",
|
|
"signInWithGitHub": "Sign In with GitHub",
|
|
"termsOfService": "Terms of Service",
|
|
"privacyPolicy": "Privacy Policy",
|
|
"byClickingContinue": "By clicking continue, you agree to our ",
|
|
"and": " and "
|
|
},
|
|
"register": {
|
|
"title": "Register",
|
|
"createAccount": "Create an account",
|
|
"name": "Name",
|
|
"email": "Email",
|
|
"password": "Password",
|
|
"signUp": "Sign Up",
|
|
"signInHint": "Already have an account? Sign in",
|
|
"checkEmail": "Please check your email inbox"
|
|
},
|
|
"forgotPassword": {
|
|
"title": "Forgot Password",
|
|
"email": "Email",
|
|
"send": "Send reset link",
|
|
"backToLogin": "Back to login",
|
|
"checkEmail": "Please check your email inbox"
|
|
},
|
|
"resetPassword": {
|
|
"title": "Reset Password",
|
|
"password": "Password",
|
|
"reset": "Reset password",
|
|
"backToLogin": "Back to login"
|
|
},
|
|
"error": {
|
|
"title": "Oops! Something went wrong!",
|
|
"tryAgain": "Please try again.",
|
|
"backToLogin": "Back to login",
|
|
"checkEmail": "Please check your email inbox"
|
|
}
|
|
},
|
|
"BlogPage": {
|
|
"title": "Blog",
|
|
"subtitle": "Latest news and updates from our team",
|
|
"publisher": "Publisher",
|
|
"categories": "Categories",
|
|
"tableOfContents": "Table of Contents",
|
|
"all": "All",
|
|
"noPostsFound": "No posts found",
|
|
"allPosts": "All Posts"
|
|
},
|
|
"Marketing": {
|
|
"menu": {
|
|
"features": {
|
|
"title": "Features"
|
|
},
|
|
"pricing": {
|
|
"title": "Pricing"
|
|
},
|
|
"blog": {
|
|
"title": "Blog"
|
|
},
|
|
"ai": {
|
|
"title": "AI",
|
|
"items": {
|
|
"text": {
|
|
"title": "AI Text",
|
|
"description": "Show how to use AI to write stunning text"
|
|
},
|
|
"image": {
|
|
"title": "AI Image",
|
|
"description": "Show how to use AI to generate beautiful images"
|
|
},
|
|
"video": {
|
|
"title": "AI Video",
|
|
"description": "Show how to use AI to generate amazing videos"
|
|
},
|
|
"audio": {
|
|
"title": "AI Audio",
|
|
"description": "Show how to use AI to generate wonderful audio"
|
|
}
|
|
}
|
|
},
|
|
"pages": {
|
|
"title": "Pages",
|
|
"items": {
|
|
"about": {
|
|
"title": "About",
|
|
"description": "Learn more about our company, mission, and values"
|
|
},
|
|
"contact": {
|
|
"title": "Contact",
|
|
"description": "Get in touch with our team for support or inquiries"
|
|
},
|
|
"waitlist": {
|
|
"title": "Waitlist",
|
|
"description": "Join our waitlist for latest news and updates"
|
|
},
|
|
"changelog": {
|
|
"title": "Changelog",
|
|
"description": "See the latest updates to our products"
|
|
},
|
|
"roadmap": {
|
|
"title": "Roadmap",
|
|
"description": "Explore our future plans and upcoming features"
|
|
},
|
|
"cookiePolicy": {
|
|
"title": "Cookie Policy",
|
|
"description": "Information about how we use cookies on our website"
|
|
},
|
|
"privacyPolicy": {
|
|
"title": "Privacy Policy",
|
|
"description": "Details about how we protect and handle your data"
|
|
},
|
|
"termsOfService": {
|
|
"title": "Terms of Service",
|
|
"description": "The legal agreement between you and our company"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"footer": {
|
|
"product": {
|
|
"title": "Product",
|
|
"items": {
|
|
"features": "Features",
|
|
"pricing": "Pricing",
|
|
"faq": "FAQ"
|
|
}
|
|
},
|
|
"resources": {
|
|
"title": "Resources",
|
|
"items": {
|
|
"blog": "Blog",
|
|
"changelog": "Changelog",
|
|
"roadmap": "Roadmap"
|
|
}
|
|
},
|
|
"company": {
|
|
"title": "Company",
|
|
"items": {
|
|
"about": "About",
|
|
"contact": "Contact",
|
|
"waitlist": "Waitlist"
|
|
}
|
|
},
|
|
"legal": {
|
|
"title": "Legal",
|
|
"items": {
|
|
"cookiePolicy": "Cookie Policy",
|
|
"privacyPolicy": "Privacy Policy",
|
|
"termsOfService": "Terms of Service"
|
|
}
|
|
}
|
|
},
|
|
"avatar": {
|
|
"dashboard": "Dashboard",
|
|
"settings": "Settings"
|
|
}
|
|
},
|
|
"mail": {
|
|
"common": {
|
|
"team": "{name} Team",
|
|
"copyright": "Copyright {year} All Rights Reserved."
|
|
},
|
|
"verifyEmail": {
|
|
"title": "Hi, {name}.",
|
|
"body": "Please click the link below to verify your email address.",
|
|
"confirmEmail": "Confirm email",
|
|
"subject": "Verify your email"
|
|
},
|
|
"forgotPassword": {
|
|
"title": "Hi, {name}.",
|
|
"body": "Please click the link below to reset your password.",
|
|
"resetPassword": "Reset password",
|
|
"subject": "Reset your password"
|
|
},
|
|
"subscribeNewsletter": {
|
|
"body": "Thank you for subscribing to the newsletter. We will keep you updated with the latest news and updates.",
|
|
"subject": "Thanks for subscribing"
|
|
}
|
|
}
|
|
} |