Add Chinese language support and update localization files: Introduced translations for Chinese (zh) in LanguageSwitcher and i18n configuration. Removed outdated translation files for several languages, streamlining localization resources. Enhanced language context to include Chinese in available languages.

This commit is contained in:
sebseb7
2025-07-16 03:34:10 +02:00
parent 5c90d048fb
commit 859a2c06d8
28 changed files with 2496 additions and 1761 deletions

View File

@@ -0,0 +1,204 @@
export default {
"navigation": {
"home": "Home", // Startseite
"aktionen": "Actions", // Aktionen
"filiale": "Store", // Filiale
"categories": "Categories", // Kategorien
"categoriesOpen": "Open Categories", // Kategorien öffnen
"categoriesClose": "Close Categories" // Kategorien schließen
},
"auth": {
"login": "Login", // Anmelden
"register": "Register", // Registrieren
"logout": "Logout", // Abmelden
"profile": "Profile", // Profil
"email": "Email", // E-Mail
"password": "Password", // Passwort
"confirmPassword": "Confirm Password", // Passwort bestätigen
"forgotPassword": "Forgot Password?", // Passwort vergessen?
"loginWithGoogle": "Sign in with Google", // Mit Google anmelden
"or": "OR", // ODER
"privacyAccept": "By clicking \"Sign in with Google\" I accept the", // Mit dem Click auf \"Mit Google anmelden\" akzeptiere ich die
"privacyPolicy": "Privacy Policy", // Datenschutzbestimmungen
"passwordMinLength": "Password must be at least 8 characters long", // Das Passwort muss mindestens 8 Zeichen lang sein
"newPasswordMinLength": "New password must be at least 8 characters long", // Das neue Passwort muss mindestens 8 Zeichen lang sein
"menu": {
"profile": "Profile", // Profil
"checkout": "Checkout", // Bestellabschluss
"orders": "Orders", // Bestellungen
"settings": "Settings", // Einstellungen
"adminDashboard": "Admin Dashboard", // Admin Dashboard
"adminUsers": "Admin Users" // Admin Users
}
},
"cart": {
"title": "Shopping Cart", // Warenkorb
"empty": "empty", // leer
"addToCart": "Add to Cart", // In den Korb
"preorderCutting": "Pre-order as Cutting", // Als Steckling vorbestellen
"continueShopping": "Continue Shopping", // Weiter einkaufen
"proceedToCheckout": "Proceed to Checkout", // Weiter zur Kasse
"sync": {
"title": "Cart Synchronization", // Warenkorb-Synchronisierung
"description": "You have a saved cart in your account. Please choose how you would like to proceed:", // Sie haben einen gespeicherten Warenkorb in ihrem Account. Bitte wählen Sie, wie Sie verfahren möchten:
"deleteServer": "Delete Server Cart", // Server-Warenkorb löschen
"useServer": "Use Server Cart", // Server-Warenkorb übernehmen
"merge": "Merge Carts", // Warenkörbe zusammenführen
"currentCart": "Your Current Cart", // Ihr aktueller Warenkorb
"serverCart": "Cart Saved in Your Profile" // In Ihrem Profil gespeicherter Warenkorb
}
},
"product": {
"loading": "Product is loading...", // Produkt wird geladen...
"notFound": "Product not found", // Produkt nicht gefunden
"notFoundDescription": "The requested product does not exist or has been removed.", // Das gesuchte Produkt existiert nicht oder wurde entfernt.
"backToHome": "Back to Home", // Zurück zur Startseite
"error": "Error", // Fehler
"articleNumber": "Article Number", // Artikelnummer
"manufacturer": "Manufacturer", // Hersteller
"inclVat": "incl. {{vat}}% VAT", // inkl. {{vat}}% MwSt.
"priceUnit": "{{price}}/{{unit}}", // {{price}}/{{unit}}
"new": "New", // Neu
"arriving": "Arrival:", // Ankunft:
"inclVatFooter": "incl. {{vat}}% VAT,*", // incl. {{vat}}% USt.,*
"availability": "Availability", // Verfügbarkeit
"inStock": "in stock", // auf Lager
"comingSoon": "Coming Soon", // Bald verfügbar
"deliveryTime": "Delivery Time", // Lieferzeit
"inclShort": "incl.", // inkl.
"vatShort": "VAT" // MwSt.
},
"search": {
"placeholder": "You can ask me about cannabis strains...", // Du kannst mich nach Cannabissorten fragen...
"recording": "Recording..." // Aufnahme läuft...
},
"chat": {
"privacyRead": "Read & Accepted" // Gelesen & Akzeptiert
},
"delivery": {
"methods": {
"dhl": "DHL", // DHL
"dpd": "DPD", // DPD
"sperrgut": "Oversized Goods", // Sperrgut
"pickup": "Pickup at Store" // Abholung in der Filiale
},
"descriptions": {
"standard": "Standard Shipping", // Standardversand
"standardFree": "Standard Shipping - FREE from €100 order value!", // Standardversand - KOSTENLOS ab 100€ Warenwert!
"notAvailable": "not selectable because one or more items can only be picked up", // nicht auswählbar weil ein oder mehrere Artikel nur abgeholt werden können
"bulky": "For large and heavy items" // Für große und schwere Artikel
},
"prices": {
"free": "free", // kostenlos
"dhl": "€6.99", // 6,99 €
"dpd": "€4.90", // 4,90 €
"sperrgut": "€28.99" // 28,99 €
},
"times": {
"cutting14Days": "Delivery time: 14 days", // Lieferzeit: 14 Tage
"standard2to3Days": "Delivery time: 2-3 days", // Lieferzeit: 2-3 Tage
"supplier7to9Days": "Delivery time: 7-9 days" // Lieferzeit: 7-9 Tage
}
},
"checkout": {
"invoiceAddress": "Billing Address", // Rechnungsadresse
"deliveryAddress": "Delivery Address", // Lieferadresse
"saveForFuture": "Save for future orders", // Für zukünftige Bestellungen speichern
"pickupDate": "For which date is the pickup of the cuttings desired?", // Für welchen Termin ist die Abholung der Stecklinge gewünscht?
"note": "Note", // Anmerkung
"sameAddress": "Delivery address is identical to billing address", // Lieferadresse ist identisch mit Rechnungsadresse
"termsAccept": "I have read the Terms & Conditions, Privacy Policy and the provisions on the right of withdrawal" // Ich habe die AGBs, die Datenschutzerklärung und die Bestimmungen zum Widerrufsrecht gelesen
},
"payment": {
"successful": "Payment successful!", // Zahlung erfolgreich!
"failed": "Payment failed", // Zahlung fehlgeschlagen
"orderCompleted": "🎉 Your order has been successfully completed! You can now view your orders.", // 🎉 Ihre Bestellung wurde erfolgreich abgeschlossen! Sie können jetzt Ihre Bestellungen einsehen.
"orderProcessing": "Your payment has been successfully processed. The order will be completed automatically.", // Ihre Zahlung wurde erfolgreich verarbeitet. Die Bestellung wird automatisch abgeschlossen.
"paymentError": "Your payment could not be processed. Please try again or select a different payment method.", // Ihre Zahlung konnte nicht verarbeitet werden. Bitte versuchen Sie es erneut oder wählen Sie eine andere Zahlungsmethode.
"viewOrders": "View My Orders" // Zu meinen Bestellungen
},
"filters": {
"sorting": "Sorting", // Sortierung
"perPage": "per page", // pro Seite
"availability": "Availability", // Verfügbarkeit
"manufacturer": "Manufacturer" // Hersteller
},
"tax": {
"vat": "Value Added Tax", // Mehrwertsteuer
"vat7": "7% Value Added Tax", // 7% Mehrwertsteuer
"vat19": "19% Value Added Tax", // 19% Mehrwertsteuer
"vat19WithShipping": "19% Value Added Tax (incl. shipping)", // 19% Mehrwertsteuer (inkl. Versand)
"totalNet": "Total Net Price", // Gesamtnettopreis
"totalGross": "Total Gross Price without Shipping", // Gesamtbruttopreis ohne Versand
"subtotal": "Subtotal" // Zwischensumme
},
"footer": {
"hours": "Sat 11-19", // Sa 11-19
"address": "Trachenberger Straße 14 - Dresden", // Trachenberger Straße 14 - Dresden
"location": "Between Pieschen station and Trachenberger Platz", // Zwischen Haltepunkt Pieschen und Trachenberger Platz
"allPricesIncl": "* All prices incl. statutory VAT, plus shipping", // * Alle Preise inkl. gesetzlicher USt., zzgl. Versand
"copyright": "© {{year}} GrowHeads.de", // © {{year}} GrowHeads.de
"legal": {
"datenschutz": "Privacy Policy", // Datenschutz
"agb": "Terms & Conditions", // AGB
"sitemap": "Sitemap", // Sitemap
"impressum": "Imprint", // Impressum
"batteriegesetzhinweise": "Battery Law Information", // Batteriegesetzhinweise
"widerrufsrecht": "Right of Withdrawal" // Widerrufsrecht
}
},
"titles": {
"home": "Cannabis Seeds & Cuttings", // ine annabis eeds & uttings
"aktionen": "Current Actions & Offers", // tuelle ktionen & gebote
"filiale": "Our Store in Dresden" // nsere iliale in resden
},
"sections": {
"seeds": "Seeds", // Seeds
"stecklinge": "Cuttings", // Stecklinge
"oilPress": "Rent Oil Press", // Ölpresse ausleihen
"thcTest": "THC Test", // THC Test
"address1": "Trachenberger Straße 14", // Trachenberger Straße 14
"address2": "01129 Dresden" // 01129 Dresden
},
"pages": {
"oilPress": {
"title": "Rent Oil Press", // Ölpresse ausleihen
"comingSoon": "Content coming soon..." // Inhalt kommt bald...
},
"thcTest": {
"title": "THC Test", // THC Test
"comingSoon": "Content coming soon..." // Inhalt kommt bald...
}
},
"orders": {
"status": {
"new": "processing", // in Bearbeitung
"pending": "New", // Neu
"processing": "Processing", // in Bearbeitung
"cancelled": "Cancelled", // Storniert
"shipped": "Shipped", // Verschickt
"delivered": "Delivered", // Geliefert
"return": "Return", // Retoure
"partialReturn": "Partial Return", // Teil Retoure
"partialDelivered": "Partially Delivered" // Teil geliefert
}
},
"common": {
"loading": "Loading...", // Lädt...
"error": "Error", // Fehler
"close": "Close", // Schließen
"save": "Save", // Speichern
"cancel": "Cancel", // Abbrechen
"ok": "OK", // OK
"yes": "Yes", // Ja
"no": "No", // Nein
"next": "Next", // Weiter
"back": "Back", // Zurück
"edit": "Edit", // Bearbeiten
"delete": "Delete", // Löschen
"add": "Add", // Hinzufügen
"remove": "Remove", // Entfernen
"products": "Products", // Produkte
"product": "Product" // Produkt
}
}

View File

@@ -1,162 +0,0 @@
{
"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"
}
}