Implement multilingual support: Integrate i18next for language translation across components, update configuration for multilingual descriptions and keywords, and enhance user interface elements with dynamic language switching. Add new dependencies for i18next and related libraries in package.json and package-lock.json.
This commit is contained in:
162
src/i18n/locales/en/translation.json
Normal file
162
src/i18n/locales/en/translation.json
Normal file
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"navigation": {
|
||||
"home": "Home",
|
||||
"aktionen": "Actions",
|
||||
"filiale": "Store",
|
||||
"categories": "Categories"
|
||||
},
|
||||
"auth": {
|
||||
"login": "Sign In",
|
||||
"register": "Register",
|
||||
"logout": "Sign Out",
|
||||
"profile": "Profile",
|
||||
"email": "Email",
|
||||
"password": "Password",
|
||||
"confirmPassword": "Confirm Password",
|
||||
"forgotPassword": "Forgot Password?",
|
||||
"loginWithGoogle": "Sign in with Google",
|
||||
"or": "OR",
|
||||
"privacyAccept": "By clicking \"Sign in with Google\" I accept the",
|
||||
"privacyPolicy": "Privacy Policy",
|
||||
"passwordMinLength": "Password must be at least 8 characters long",
|
||||
"newPasswordMinLength": "New password must be at least 8 characters long",
|
||||
"menu": {
|
||||
"profile": "Profile",
|
||||
"checkout": "Checkout",
|
||||
"orders": "Orders",
|
||||
"settings": "Settings",
|
||||
"adminDashboard": "Admin Dashboard",
|
||||
"adminUsers": "Admin Users"
|
||||
}
|
||||
},
|
||||
"cart": {
|
||||
"title": "Shopping Cart",
|
||||
"empty": "empty",
|
||||
"sync": {
|
||||
"title": "Cart Synchronization",
|
||||
"description": "You have a saved cart in your account. Please choose how you would like to proceed:",
|
||||
"deleteServer": "Delete server cart",
|
||||
"useServer": "Use server cart",
|
||||
"merge": "Merge carts",
|
||||
"currentCart": "Your current cart",
|
||||
"serverCart": "Cart saved in your profile"
|
||||
}
|
||||
},
|
||||
"product": {
|
||||
"loading": "Loading product...",
|
||||
"notFound": "Product not found",
|
||||
"notFoundDescription": "The requested product does not exist or has been removed.",
|
||||
"backToHome": "Back to homepage",
|
||||
"error": "Error",
|
||||
"articleNumber": "Article Number",
|
||||
"manufacturer": "Manufacturer",
|
||||
"inclVat": "incl. {{vat}}% VAT",
|
||||
"priceUnit": "{{price}}/{{unit}}",
|
||||
"new": "New",
|
||||
"arriving": "Arriving:",
|
||||
"inclVatFooter": "incl. {{vat}}% VAT,*"
|
||||
},
|
||||
"search": {
|
||||
"placeholder": "You can ask me about cannabis varieties...",
|
||||
"recording": "Recording..."
|
||||
},
|
||||
"chat": {
|
||||
"privacyRead": "Read & Accepted"
|
||||
},
|
||||
"delivery": {
|
||||
"methods": {
|
||||
"dhl": "DHL",
|
||||
"dpd": "DPD",
|
||||
"sperrgut": "Bulky Goods",
|
||||
"pickup": "Store Pickup"
|
||||
},
|
||||
"descriptions": {
|
||||
"standard": "Standard Shipping",
|
||||
"standardFree": "Standard Shipping - FREE for orders over €100!",
|
||||
"notAvailable": "not available because one or more items require store pickup",
|
||||
"bulky": "For large and heavy items"
|
||||
},
|
||||
"prices": {
|
||||
"free": "free",
|
||||
"dhl": "€6.99",
|
||||
"dpd": "€4.90",
|
||||
"sperrgut": "€28.99"
|
||||
}
|
||||
},
|
||||
"checkout": {
|
||||
"invoiceAddress": "Billing Address",
|
||||
"deliveryAddress": "Delivery Address",
|
||||
"saveForFuture": "Save for future orders",
|
||||
"pickupDate": "What date would you like to pick up the cuttings?",
|
||||
"note": "Note",
|
||||
"sameAddress": "Delivery address is the same as billing address",
|
||||
"termsAccept": "I have read the Terms & Conditions, Privacy Policy and Return Policy"
|
||||
},
|
||||
"footer": {
|
||||
"hours": "Sat 11-19",
|
||||
"address": "Trachenberger Straße 14 - Dresden",
|
||||
"location": "Between Pieschen station and Trachenberger Platz",
|
||||
"allPricesIncl": "* All prices incl. VAT, plus shipping",
|
||||
"copyright": "© {{year}} GrowHeads.de",
|
||||
"legal": {
|
||||
"datenschutz": "Privacy Policy",
|
||||
"agb": "Terms & Conditions",
|
||||
"sitemap": "Sitemap",
|
||||
"impressum": "Legal Notice",
|
||||
"batteriegesetzhinweise": "Battery Regulations",
|
||||
"widerrufsrecht": "Right of Withdrawal"
|
||||
}
|
||||
},
|
||||
"titles": {
|
||||
"home": "ine annabis eeds & uttings",
|
||||
"aktionen": "urrent ctions & ffers",
|
||||
"filiale": "ur tore in resden"
|
||||
},
|
||||
"sections": {
|
||||
"seeds": "Seeds",
|
||||
"stecklinge": "Cuttings",
|
||||
"oilPress": "Oil Press Rental",
|
||||
"thcTest": "THC Test",
|
||||
"address1": "Trachenberger Straße 14",
|
||||
"address2": "01129 Dresden"
|
||||
},
|
||||
"pages": {
|
||||
"oilPress": {
|
||||
"title": "Oil Press Rental",
|
||||
"comingSoon": "Content coming soon..."
|
||||
},
|
||||
"thcTest": {
|
||||
"title": "THC Test",
|
||||
"comingSoon": "Content coming soon..."
|
||||
}
|
||||
},
|
||||
"orders": {
|
||||
"status": {
|
||||
"new": "Processing",
|
||||
"pending": "New",
|
||||
"processing": "Processing",
|
||||
"cancelled": "Cancelled",
|
||||
"shipped": "Shipped",
|
||||
"delivered": "Delivered",
|
||||
"return": "Return",
|
||||
"partialReturn": "Partial Return",
|
||||
"partialDelivered": "Partially Delivered"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
"loading": "Loading...",
|
||||
"error": "Error",
|
||||
"close": "Close",
|
||||
"save": "Save",
|
||||
"cancel": "Cancel",
|
||||
"ok": "OK",
|
||||
"yes": "Yes",
|
||||
"no": "No",
|
||||
"next": "Next",
|
||||
"back": "Back",
|
||||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
"add": "Add",
|
||||
"remove": "Remove"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user