Refactor project for i18n support: Rename project to "i18n-translator" and update package.json and package-lock.json accordingly. Enhance localization by integrating translation functions across various components, including AddToCartButton, Content, GoogleLoginButton, and others, to provide dynamic text rendering based on user language preferences. Update localization files for multiple languages, ensuring comprehensive support for internationalization.
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
export default {
|
||||
"locale": {
|
||||
"code": "en-US" // de-DE
|
||||
},
|
||||
"navigation": {
|
||||
"home": "Home", // Startseite
|
||||
"aktionen": "Actions", // Aktionen
|
||||
"filiale": "Store", // Filiale
|
||||
"aktionen": "Promotions", // Aktionen
|
||||
"filiale": "Branch", // Filiale
|
||||
"categories": "Categories", // Kategorien
|
||||
"categoriesOpen": "Open Categories", // Kategorien öffnen
|
||||
"categoriesClose": "Close Categories" // Kategorien schließen
|
||||
"categoriesOpen": "Open categories", // Kategorien öffnen
|
||||
"categoriesClose": "Close categories", // Kategorien schließen
|
||||
"otherCategories": "Other categories" // Andere Kategorien
|
||||
},
|
||||
"auth": {
|
||||
"login": "Login", // Anmelden
|
||||
@@ -14,14 +18,14 @@ export default {
|
||||
"profile": "Profile", // Profil
|
||||
"email": "Email", // E-Mail
|
||||
"password": "Password", // Passwort
|
||||
"confirmPassword": "Confirm Password", // Passwort bestätigen
|
||||
"forgotPassword": "Forgot Password?", // Passwort vergessen?
|
||||
"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
|
||||
"newPasswordMinLength": "The 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
|
||||
@@ -32,45 +36,67 @@ export default {
|
||||
}
|
||||
},
|
||||
"cart": {
|
||||
"title": "Shopping Cart", // Warenkorb
|
||||
"title": "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
|
||||
"addToCart": "Add to cart", // In den Korb
|
||||
"preorderCutting": "Preorder as cutting", // Als Steckling vorbestellen
|
||||
"continueShopping": "Continue shopping", // Weiter einkaufen
|
||||
"proceedToCheckout": "Proceed to checkout", // Weiter zur Kasse
|
||||
"productCount": "{{count}} {{count, plural, one {Product} other {Products}}}", // {{count}} {{count, plural, one {Produkt} other {Produkte}}}
|
||||
"removeFromCart": "Remove from cart", // Aus dem Warenkorb entfernen
|
||||
"openCart": "Open cart", // Warenkorb öffnen
|
||||
"availableFrom": "Available from {{date}}", // Ab {{date}}
|
||||
"backToOrder": "← Back to order", // ← Zurück zur Bestellung
|
||||
"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
|
||||
"title": "Cart synchronization", // Warenkorb-Synchronisierung
|
||||
"description": "You have a saved cart in your account. Please choose how you want 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...
|
||||
"loading": "Loading product...", // 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
|
||||
"notFoundDescription": "The product you are looking for 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
|
||||
"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:
|
||||
"arriving": "Arriving:", // 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
|
||||
"comingSoon": "Coming soon", // Bald verfügbar
|
||||
"deliveryTime": "Delivery time", // Lieferzeit
|
||||
"inclShort": "incl.", // inkl.
|
||||
"vatShort": "VAT" // MwSt.
|
||||
"vatShort": "VAT", // MwSt.
|
||||
"countDisplay": {
|
||||
"noProducts": "0 products", // 0 Produkte
|
||||
"oneProduct": "1 product", // 1 Produkt
|
||||
"multipleProducts": "{{count}} products", // {{count}} Produkte
|
||||
"filteredProducts": "{{filtered}} of {{total}} products", // {{filtered}} von {{total}} Produkten
|
||||
"filteredOneProduct": "{{filtered}} of 1 product" // {{filtered}} von 1 Produkt
|
||||
},
|
||||
"removeFiltersToSee": "Remove filters to see products", // Entferne Filter um Produkte zu sehen
|
||||
"outOfStock": "Out of stock", // Out of Stock
|
||||
"fromXProducts": "from {{count}} products" // ab {{count}} Produkten
|
||||
},
|
||||
"search": {
|
||||
"placeholder": "You can ask me about cannabis strains...", // Du kannst mich nach Cannabissorten fragen...
|
||||
"recording": "Recording..." // Aufnahme läuft...
|
||||
"recording": "Recording...", // Aufnahme läuft...
|
||||
"searchProducts": "Search products..." // Produkte suchen...
|
||||
},
|
||||
"sorting": {
|
||||
"name": "Name", // Name
|
||||
"searchField": "Search term", // Suchbegriff
|
||||
"priceLowHigh": "Price: Low to High", // Preis: Niedrig zu Hoch
|
||||
"priceHighLow": "Price: High to Low" // Preis: Hoch zu Niedrig
|
||||
},
|
||||
"chat": {
|
||||
"privacyRead": "Read & Accepted" // Gelesen & Akzeptiert
|
||||
@@ -79,17 +105,18 @@ export default {
|
||||
"methods": {
|
||||
"dhl": "DHL", // DHL
|
||||
"dpd": "DPD", // DPD
|
||||
"sperrgut": "Oversized Goods", // Sperrgut
|
||||
"pickup": "Pickup at Store" // Abholung in der Filiale
|
||||
"sperrgut": "Bulky goods", // Sperrgut
|
||||
"pickup": "Pickup at branch" // 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
|
||||
"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
|
||||
"freeFrom100": "(free from €100)", // (kostenlos ab 100€)
|
||||
"dhl": "€6.99", // 6,99 €
|
||||
"dpd": "€4.90", // 4,90 €
|
||||
"sperrgut": "€28.99" // 28,99 €
|
||||
@@ -101,21 +128,21 @@ export default {
|
||||
}
|
||||
},
|
||||
"checkout": {
|
||||
"invoiceAddress": "Billing Address", // Rechnungsadresse
|
||||
"deliveryAddress": "Delivery Address", // Lieferadresse
|
||||
"invoiceAddress": "Invoice 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?
|
||||
"pickupDate": "For which date do you want to pick up the cuttings?", // 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
|
||||
"sameAddress": "Delivery address is the same as invoice address", // Lieferadresse ist identisch mit Rechnungsadresse
|
||||
"termsAccept": "I have read the Terms and Conditions, Privacy Policy, and the Right of Withdrawal information" // 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
|
||||
"orderProcessing": "Your payment was processed successfully. 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 choose another 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
|
||||
@@ -128,41 +155,41 @@ export default {
|
||||
"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
|
||||
"totalNet": "Total net price", // Gesamtnettopreis
|
||||
"totalGross": "Total gross price excluding 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
|
||||
"location": "Between Pieschen stop and Trachenberger Platz", // Zwischen Haltepunkt Pieschen und Trachenberger Platz
|
||||
"allPricesIncl": "* All prices incl. legal VAT, plus shipping", // * Alle Preise inkl. gesetzlicher USt., zzgl. Versand
|
||||
"copyright": "© {{year}} GrowHeads.de", // © {{year}} GrowHeads.de
|
||||
"legal": {
|
||||
"datenschutz": "Privacy Policy", // Datenschutz
|
||||
"datenschutz": "Privacy", // Datenschutz
|
||||
"agb": "Terms & Conditions", // AGB
|
||||
"sitemap": "Sitemap", // Sitemap
|
||||
"impressum": "Imprint", // Impressum
|
||||
"batteriegesetzhinweise": "Battery Law Information", // Batteriegesetzhinweise
|
||||
"batteriegesetzhinweise": "Battery Act Notes", // 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
|
||||
"home": "Fine Cannabis Seeds & Cuttings", // Fine Cannabis Seeds & Cuttings (the text in the string has special characters, translate using the comment)
|
||||
"aktionen": "Current Promotions & Offers", // Aktuelle Aktionen & Angebote (the text in the string has special characters, translate using the comment)
|
||||
"filiale": "Our Branch in Dresden" // Unsere Filiale in Dresden (the text in the string has special characters, translate using the comment)
|
||||
},
|
||||
"sections": {
|
||||
"seeds": "Seeds", // Seeds
|
||||
"stecklinge": "Cuttings", // Stecklinge
|
||||
"oilPress": "Rent Oil Press", // Ölpresse ausleihen
|
||||
"oilPress": "Borrow 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
|
||||
"title": "Borrow oil press", // Ölpresse ausleihen
|
||||
"comingSoon": "Content coming soon..." // Inhalt kommt bald...
|
||||
},
|
||||
"thcTest": {
|
||||
@@ -172,15 +199,15 @@ export default {
|
||||
},
|
||||
"orders": {
|
||||
"status": {
|
||||
"new": "processing", // in Bearbeitung
|
||||
"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
|
||||
"partialReturn": "Partial return", // Teil Retoure
|
||||
"partialDelivered": "Partially delivered" // Teil geliefert
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -201,4 +228,4 @@ export default {
|
||||
"products": "Products", // Produkte
|
||||
"product": "Product" // Produkt
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user