feat: implement proper i18n translations for Serbian and English

- Add comprehensive Serbian translation file (sr.json) with all UI strings
- Add comprehensive English translation file (en.json) with all UI strings
- Update Serbian root pages (/, /products, /products/[slug], /about, /contact) to use getTranslations()
- Update English pages (/en/*) to use getTranslations()
- Replace all hardcoded strings with translation keys
This commit is contained in:
Unchained
2026-03-23 18:28:00 +02:00
parent f72f32fe60
commit bcc51ce282
11 changed files with 700 additions and 577 deletions

View File

@@ -10,24 +10,40 @@
"title": "Premium Natural Oils",
"subtitle": "For hair and skin care"
},
"ticker": {
"text": "Free shipping on orders over 3000 RSD • Natural ingredients • Cruelty-free • Handmade with love"
},
"products": {
"title": "Our Products"
},
"bestsellers": {
"title": "Best Sellers"
},
"story": {
"title": "Our Story",
"description": "ManoonOils was born from a passion for natural beauty..."
},
"newsletter": {
"title": "Stay Updated",
"placeholder": "Enter your email",
"button": "Subscribe"
}
"collection": "Our Collection",
"premiumOils": "Premium Natural Oils",
"oilsDescription": "Cold-pressed, pure, and natural oils for your daily beauty routine",
"viewAll": "View All Products",
"ourStory": "Our Story",
"handmadeWithLove": "Handmade with Love",
"storyText1": "Every bottle of ManoonOils is crafted with care using traditional methods passed down through generations. We source only the finest organic ingredients to bring you oils that nourish both hair and skin.",
"storyText2": "Our commitment to purity means no additives, no preservatives - just nature's goodness in its most potent form.",
"learnMore": "Learn More",
"whyChooseUs": "Why Choose Us",
"manoonDifference": "The Manoon Difference",
"stayConnected": "Stay Connected",
"joinCommunity": "Join Our Community",
"newsletterText": "Subscribe to receive exclusive offers, beauty tips, and be the first to know about new products.",
"emailPlaceholder": "Enter your email",
"subscribe": "Subscribe"
},
"Benefits": {
"natural": "100% Natural",
"naturalDesc": "Pure, cold-pressed oils with no additives or preservatives. Just nature's goodness.",
"handcrafted": "Handcrafted",
"handcraftedDesc": "Each batch is carefully prepared by hand to ensure the highest quality.",
"sustainable": "Sustainable",
"sustainableDesc": "Ethically sourced ingredients and eco-friendly packaging for a better planet."
},
"Products": {
"allProducts": "All Products",
"productsCount": "{count} products",
"featured": "Featured",
"newest": "Newest",
"priceLow": "Price: Low to High",
"priceHigh": "Price: High to Low",
"noProducts": "No products available",
"checkBack": "Please check back later for new arrivals."
},
"Product": {
"addToCart": "Add to Cart",
@@ -35,19 +51,99 @@
"details": "Details",
"ingredients": "Ingredients",
"usage": "How to Use",
"related": "You May Also Like"
"related": "You May Also Like",
"notFound": "Product not found",
"notFoundDesc": "The product you're looking for doesn't exist or has been removed.",
"browseProducts": "Browse Products"
},
"Cart": {
"title": "Your Cart",
"empty": "Your cart is empty",
"emptyDesc": "Looks like you haven't added anything to your cart yet.",
"continueShopping": "Continue Shopping",
"checkout": "Checkout",
"subtotal": "Subtotal",
"remove": "Remove"
"shipping": "Shipping",
"shippingCalc": "Calculated at checkout",
"total": "Total",
"freeShipping": "Free shipping on orders over {amount}",
"remove": "Remove",
"processes": "Processing...",
"cartEmpty": "Your cart is empty"
},
"About": {
"title": "About Us",
"subtitle": "Our Story",
"intro": "ManoonOils was born from a passion for natural beauty and the belief that the best skincare comes from nature itself.",
"intro2": "We believe in the power of natural ingredients. Every oil in our collection is carefully selected for its unique properties and benefits. From nourishing oils that restore hair vitality to serums that rejuvenate skin, we craft each product with love and attention to detail.",
"naturalIngredients": "Natural Ingredients",
"naturalIngredientsDesc": "We use only the finest natural ingredients, sourced ethically and sustainably from trusted suppliers around the world.",
"crueltyFree": "Cruelty-Free",
"crueltyFreeDesc": "Our products are never tested on animals. We believe in beauty without compromise.",
"sustainablePackaging": "Sustainable Packaging",
"sustainablePackagingDesc": "We use eco-friendly packaging materials and minimize waste throughout our production process.",
"handcraftedQuality": "Handcrafted Quality",
"handcraftedQualityDesc": "Every bottle is handcrafted in small batches to ensure the highest quality and freshness.",
"mission": "Our Mission",
"missionQuote": "\"To provide premium quality, natural products that enhance your daily beauty routine.\"",
"handmadeTitle": "Handmade with Love",
"handmadeText1": "Every bottle of ManoonOils is handcrafted with care. We small-batch produce our products to ensure the highest quality and freshness. When you use ManoonOils, you can feel confident that you're using something made with genuine care and expertise.",
"handmadeText2": "Our journey began with a simple question: how can we create products that truly nurture both hair and skin? Today, we continue to innovate while staying true to our commitment to natural, effective beauty solutions."
},
"Contact": {
"title": "Contact",
"subtitle": "Get in Touch",
"getInTouch": "Get in Touch",
"getInTouchDesc": "We're here to help! Whether you have questions about our products, need assistance with an order, or just want to say hello, we'd love to hear from you.",
"email": "Email",
"emailReply": "We reply within 24 hours",
"shippingTitle": "Shipping",
"freeShipping": "Free shipping over £50",
"deliveryTime": "Delivered within 2-5 business days",
"location": "Location",
"locationDesc": "Serbia",
"worldwideShipping": "Shipping worldwide",
"name": "Name",
"namePlaceholder": "Your name",
"emailField": "Email",
"emailPlaceholder": "your@email.com",
"message": "Message",
"messagePlaceholder": "How can we help you?",
"sendMessage": "Send Message",
"thankYou": "Thank You!",
"thankYouDesc": "Your message has been sent. We'll get back to you soon.",
"faqTitle": "Frequently Asked Questions",
"faq1q": "How long does shipping take?",
"faq1a": "Orders are typically delivered within 2-5 business days for domestic shipping. You'll receive a tracking number once your order ships.",
"faq2q": "Are your products 100% natural?",
"faq2a": "Yes! All our oils are 100% natural, cold-pressed, and free from any additives, preservatives, or artificial fragrances.",
"faq3q": "What is your return policy?",
"faq3a": "We accept returns within 14 days of delivery for unopened products. Please contact us if you have any issues with your order.",
"faq4q": "Do you offer wholesale?",
"faq4a": "Yes, we offer wholesale pricing for bulk orders. Please contact us at hello@manoonoils.com for more information."
},
"Footer": {
"quickLinks": "Quick Links",
"customerService": "Customer Service",
"copyright": "All rights reserved."
"contact": "Contact",
"shipping": "Shipping",
"returns": "Returns",
"faq": "FAQ",
"followUs": "Follow Us",
"newsletter": "Newsletter",
"newsletterDesc": "Subscribe to our newsletter for exclusive offers and updates.",
"copyright": "All rights reserved.",
"allRights": "© {year} ManoonOils."
},
"Common": {
"loading": "Loading...",
"error": "An error occurred",
"tryAgain": "Try again",
"close": "Close",
"back": "Back",
"next": "Next",
"previous": "Previous",
"search": "Search",
"noResults": "No results found"
}
}