Files
shahikitchen/lib/translations.ts
T
Zeeshan Khan c6a62f40f4 fix: responsive Signaturmeny title + translated menu item descriptions
- Make 'Signaturmeny' h2 responsive (smaller base font + break-words) so it doesn't overflow on mobile.
- Add signatureMenuItems and menuDescriptions to translations (en/sv + fallbacks for hi/ur).
- Update homepage signature cards and full menu page to use translated descriptions (while keeping dish names unchanged as requested).
- Swedish descriptions now active by default.
2026-06-02 14:15:26 +02:00

416 lines
18 KiB
TypeScript

export type Language = 'en' | 'sv' | 'hi' | 'ur';
export const languages: { code: Language; name: string; native: string; flag: string }[] = [
{ code: 'sv', name: 'Swedish', native: 'Svenska', flag: '🇸🇪' },
{ code: 'en', name: 'English', native: 'English', flag: '🇬🇧' },
{ code: 'hi', name: 'Hindi', native: 'हिंदी', flag: '🇮🇳' },
{ code: 'ur', name: 'Urdu', native: 'اردو', flag: '🇵🇰' },
];
export const translations = {
en: {
// Navbar
nav: {
home: 'Home',
menu: 'Menu',
locations: 'Locations',
experience: 'Experience',
contact: 'Contact',
},
reserve: 'Reserve Table',
cart: 'Cart',
// Hero
hero: {
badge: 'Royal Indian & Pakistani Since 2016',
welcome: 'Welcome to',
title: 'ShahiKitchen Online',
subtitle: 'Experience the warmth of royal hospitality and the richness of authentic Indian and Pakistani flavors — now brought to you with elegance, from the heart of Gothenburg.',
exploreMenu: 'Explore the Menu',
viewExperience: 'The Shahi Experience',
},
// Signature Menu
signatureMenu: {
title: 'Signature Menu',
subtitle: 'A curated selection of our most beloved dishes.',
filterAll: 'All',
filterCurry: 'Curry',
filterRice: 'Rice',
filterGrill: 'Grill',
filterSweet: 'Sweet',
filterMeat: 'Meat',
filterStreet: 'Street',
filterRoll: 'Roll',
addToTable: 'Add to Table',
viewFullMenu: 'VIEW THE COMPLETE MENU — 40+ DISHES',
},
signatureMenuItems: {
"chicken-biryani": "Fragrant aged basmati layered with spiced chicken, saffron & caramelized onions",
"bong-nihari": "Slow-cooked beef shank in rich aromatic gravy with ginger, lemon & fresh naan",
"panipuri": "Crispy hollow puris filled with spiced chickpeas, potatoes & tangy tamarind water",
"lamm-palak": "Tender lamb cooked with fresh spinach in a flavorful mild gravy",
"chicken-karahi": "Wok-tossed chicken in a robust tomato, chili & ginger gravy",
"chicken-haleem": "Slow-cooked shredded chicken with lentils, wheat & aromatic spices",
"tikka-boti-roll": "Juicy chicken tikka wrapped in soft naan with mint chutney & onions",
"jalebi": "Crispy golden saffron spirals soaked in fragrant sugar syrup",
"kulfi": "Traditional frozen milk dessert with cardamom, pistachio & saffron",
},
menuDescriptions: {
"palak-paneer": "Cottage cheese cooked in a creamy spinach gravy with mild spices and aromatic herbs.",
"shahi-paneer": "Soft cottage cheese in a rich, creamy cashew and tomato gravy with Indian spices.",
"malai-kofta": "Soft vegetable koftas simmered in a rich and creamy onion-tomato gravy with mild spices.",
"daal-makhani": "Slow-cooked black lentils in a buttery, creamy tomato gravy with aromatic spices.",
"lahore-chana": "Spiced chickpeas cooked in a tangy onion-tomato gravy with traditional Punjabi spices.",
},
// Experience
experience: {
badge: 'THE SHAHI WAY',
title: 'Warmth like a feast.\nCalm like a palace.',
heritage: {
title: 'Royal Heritage',
text: 'Recipes passed through generations. Every dish tells a story of Punjab and the royal kitchens of the subcontinent.',
},
generous: {
title: 'Generous & Honest',
text: 'Large portions. No shortcuts. We treat every guest like family — the way hospitality was meant to be.',
},
grace: {
title: 'Modern Grace',
text: 'Beautiful spaces in Askim & Backaplan. Fast, thoughtful service. Packaging worthy of a gift.',
},
},
// Locations
locations: {
badge: 'TWO HOMES IN GOTHENBURG',
title: 'Come as guests.\nLeave as family.',
},
// Footer
footer: {
tagline: 'Authentic Indian & Pakistani cuisine in Gothenburg since 2016.',
locations: 'OUR LOCATIONS',
explore: 'EXPLORE',
follow: 'FOLLOW US',
},
// Common
add: 'Add',
viewCart: 'View Cart',
// Full Menu Page
menu: {
title: 'Our Menu',
subtitle: 'Traditional recipes. Generous portions. Made with heart.',
searchPlaceholder: 'Search dishes...',
showVegetarian: 'Show Vegetarian',
vegetarianOnly: 'Vegetarian Only',
clearFilters: 'Clear filters',
noResults: 'No dishes found matching your filters.',
dishes: 'dishes',
},
},
sv: {
nav: {
home: 'Hem',
menu: 'Meny',
locations: 'Platser',
experience: 'Upplevelse',
contact: 'Kontakt',
},
reserve: 'Boka Bord',
cart: 'Varukorg',
hero: {
badge: 'Kunglig Indisk & Pakistansk Sedan 2016',
welcome: 'Välkommen till',
title: 'ShahiKitchen Online',
subtitle: 'Upplev värmen från kunglig gästfrihet och rikedomen av autentiska indiska och pakistanska smaker — nu med elegans, från Göteborgs hjärta.',
exploreMenu: 'Utforska Menyn',
viewExperience: 'Shahi-upplevelsen',
},
signatureMenu: {
title: 'Signaturmeny',
subtitle: 'Ett noga utvalt urval av våra mest älskade rätter.',
filterAll: 'Alla',
filterCurry: 'Curry',
filterRice: 'Ris',
filterGrill: 'Grill',
filterSweet: 'Sött',
filterMeat: 'Kött',
filterStreet: 'Gata',
filterRoll: 'Rulle',
addToTable: 'Lägg till',
viewFullMenu: 'SE HELA MENYN — 40+ RÄTTER',
},
signatureMenuItems: {
"chicken-biryani": "Doftande åldrad basmatiris med lager av kryddad kyckling, saffran och karamelliserade lökar",
"bong-nihari": "Långsamt kokt nötköttsskaft i rik aromatisk sås med ingefära, citron och färsk naan",
"panipuri": "Knapriga ihåliga puris fyllda med kryddade kikärtor, potatis och syrlig tamarindvatten",
"lamm-palak": "Mört lamm tillagat med färsk spenat i en smakrik mild sås",
"chicken-karahi": "Wokad kyckling i en robust tomat-, chili- och ingefärssås",
"chicken-haleem": "Långsamt kokt strimlad kyckling med linser, vete och aromatiska kryddor",
"tikka-boti-roll": "Saftig kyckling tikka insvept i mjuk naan med myntachutney och lök",
"jalebi": "Knapriga gyllene saffranspiraler indränkta i doftande sockersirap",
"kulfi": "Traditionell fryst mjölkdessert med kardemumma, pistasch och saffran",
},
menuDescriptions: {
"palak-paneer": "Kesoost tillagad i en krämig spenatsås med milda kryddor och aromatiska örter.",
"shahi-paneer": "Mjuk kesoost i en rik, krämig cashew- och tomatsås med indiska kryddor.",
"malai-kofta": "Mjuka grönsakskoftor sjudna i en rik och krämig lök-tomat sås med milda kryddor.",
"daal-makhani": "Långsamt kokta svarta linser i en smörig, krämig tomatsås med aromatiska kryddor.",
"lahore-chana": "Kryddade kikärtor tillagade i en syrlig lök-tomat sås med traditionella punjabiska kryddor.",
},
experience: {
badge: 'SHAHI-SÄTTET',
title: 'Värme som en fest.\nLugn som ett palats.',
heritage: {
title: 'Kungligt Arv',
text: 'Recept som gått i arv i generationer. Varje rätt berättar en historia från Punjab och de kungliga köken på subkontinenten.',
},
generous: {
title: 'Generöst & Ärligt',
text: 'Stora portioner. Inga genvägar. Vi behandlar varje gäst som familj — så som gästfrihet ska vara.',
},
grace: {
title: 'Modern Elegans',
text: 'Vackra lokaler i Askim & Backaplan. Snabb och omtänksam service. Förpackning värdig en gåva.',
},
},
locations: {
badge: 'TVÅ HEM I GÖTEBORG',
title: 'Kom som gäst.\nLämna som familj.',
},
footer: {
tagline: 'Autentisk indisk och pakistansk mat i Göteborg sedan 2016.',
locations: 'VÅRA PLATSER',
explore: 'UPPTÄCK',
follow: 'FÖLJ OSS',
},
add: 'Lägg till',
viewCart: 'Visa Varukorg',
// Full Menu Page
menu: {
title: 'Vår Meny',
subtitle: 'Traditionella recept. Generösa portioner. Tillagade med hjärta.',
searchPlaceholder: 'Sök rätter...',
showVegetarian: 'Visa vegetariskt',
vegetarianOnly: 'Endast vegetariskt',
clearFilters: 'Rensa filter',
noResults: 'Inga rätter matchar dina filter.',
dishes: 'rätter',
},
},
hi: {
nav: {
home: 'होम',
menu: 'मेन्यू',
locations: 'स्थान',
experience: 'अनुभव',
contact: 'संपर्क',
},
reserve: 'टेबल बुक करें',
cart: 'कार्ट',
hero: {
badge: '2016 से शाही भारतीय और पाकिस्तानी',
welcome: 'स्वागत है',
title: 'ShahiKitchen Online',
subtitle: 'शाही आतिथ्य की गर्माहट और असली भारतीय-पाकिस्तानी स्वादों की समृद्धि का अनुभव करें — अब गॉथेनबर्ग के दिल से, शान के साथ।',
exploreMenu: 'मेन्यू देखें',
viewExperience: 'शाही अनुभव',
},
signatureMenu: {
title: 'सिग्नेचर मेन्यू',
subtitle: 'हमारी सबसे पसंदीदा व्यंजनों का विशेष चयन।',
filterAll: 'सभी',
filterCurry: 'करी',
filterRice: 'चावल',
filterGrill: 'ग्रिल',
filterSweet: 'मिठाई',
addToTable: 'ऐड करें',
viewFullMenu: 'पूरी मेन्यू देखें — 40+ व्यंजन',
},
signatureMenuItems: {
"chicken-biryani": "Fragrant aged basmati layered with spiced chicken, saffron & caramelized onions",
"bong-nihari": "Slow-cooked beef shank in rich aromatic gravy with ginger, lemon & fresh naan",
"panipuri": "Crispy hollow puris filled with spiced chickpeas, potatoes & tangy tamarind water",
"lamm-palak": "Tender lamb cooked with fresh spinach in a flavorful mild gravy",
"chicken-karahi": "Wok-tossed chicken in a robust tomato, chili & ginger gravy",
"chicken-haleem": "Slow-cooked shredded chicken with lentils, wheat & aromatic spices",
"tikka-boti-roll": "Juicy chicken tikka wrapped in soft naan with mint chutney & onions",
"jalebi": "Crispy golden saffron spirals soaked in fragrant sugar syrup",
"kulfi": "Traditional frozen milk dessert with cardamom, pistachio & saffron",
},
menuDescriptions: {
"palak-paneer": "Cottage cheese cooked in a creamy spinach gravy with mild spices and aromatic herbs.",
"shahi-paneer": "Soft cottage cheese in a rich, creamy cashew and tomato gravy with Indian spices.",
"malai-kofta": "Soft vegetable koftas simmered in a rich and creamy onion-tomato gravy with mild spices.",
"daal-makhani": "Slow-cooked black lentils in a buttery, creamy tomato gravy with aromatic spices.",
"lahore-chana": "Spiced chickpeas cooked in a tangy onion-tomato gravy with traditional Punjabi spices.",
},
// Full Menu Page (fallback to English for now)
menu: {
title: 'Our Menu',
subtitle: 'Traditional recipes. Generous portions. Made with heart.',
searchPlaceholder: 'Search dishes...',
showVegetarian: 'Show Vegetarian',
vegetarianOnly: 'Vegetarian Only',
clearFilters: 'Clear filters',
noResults: 'No dishes found matching your filters.',
dishes: 'dishes',
},
experience: {
badge: 'शाही तरीका',
title: 'दावत जैसी गर्माहट।\nमहल जैसा सुकून।',
heritage: {
title: 'शाही विरासत',
text: 'पीढ़ियों से चले आ रहे रेसिपी। हर व्यंजन पंजाब और उपमहाद्वीप के शाही रसोईघरों की कहानी कहता है।',
},
generous: {
title: 'उदार और ईमानदार',
text: 'बड़ी सर्विंग्स। कोई शॉर्टकट नहीं। हम हर मेहमान को परिवार की तरह मानते हैं — जैसी आतिथ्य होनी चाहिए।',
},
grace: {
title: 'आधुनिक शान',
text: 'अस्किम और बैकाप्लान में खूबसूरत जगहें। तेज़ और सोच-समझकर की गई सेवा। तोहफे जैसी पैकेजिंग।',
},
},
locations: {
badge: 'गॉथेनबर्ग में दो घर',
title: 'मेहमान बनकर आएं।\nपरिवार बनकर जाएं।',
},
footer: {
tagline: '2016 से गॉथेनबर्ग में असली भारतीय और पाकिस्तानी खाना।',
locations: 'हमारे स्थान',
explore: 'एक्सप्लोर करें',
follow: 'हमें फॉलो करें',
},
add: 'ऐड करें',
viewCart: 'कार्ट देखें',
},
ur: {
nav: {
home: 'ہوم',
menu: 'مینو',
locations: 'مقامات',
experience: 'تجربہ',
contact: 'رابطہ',
},
reserve: 'ٹیبل بک کریں',
cart: 'کارٹ',
hero: {
badge: '2016 سے شاہی انڈین اور پاکستانی',
welcome: 'خوش آمدید',
title: 'ShahiKitchen Online',
subtitle: 'شاہی مہمان نوازی کی گرمی اور اصلی انڈین پاکستانی ذائقوں کی دولت کا تجربہ کریں — اب گوٹنبرگ کے دل سے، شان و شوکت کے ساتھ۔',
exploreMenu: 'مینو دیکھیں',
viewExperience: 'شاہی تجربہ',
},
signatureMenu: {
title: 'سگنیچر مینو',
subtitle: 'ہمارے سب سے پسندیدہ پکوانوں کا منتخب انتخاب۔',
filterAll: 'سب',
filterCurry: 'کری',
filterRice: 'چاول',
filterGrill: 'گرل',
filterSweet: 'میٹھی',
addToTable: 'شامل کریں',
viewFullMenu: 'مکمل مینو دیکھیں — 40+ پکوان',
},
signatureMenuItems: {
"chicken-biryani": "Fragrant aged basmati layered with spiced chicken, saffron & caramelized onions",
"bong-nihari": "Slow-cooked beef shank in rich aromatic gravy with ginger, lemon & fresh naan",
"panipuri": "Crispy hollow puris filled with spiced chickpeas, potatoes & tangy tamarind water",
"lamm-palak": "Tender lamb cooked with fresh spinach in a flavorful mild gravy",
"chicken-karahi": "Wok-tossed chicken in a robust tomato, chili & ginger gravy",
"chicken-haleem": "Slow-cooked shredded chicken with lentils, wheat & aromatic spices",
"tikka-boti-roll": "Juicy chicken tikka wrapped in soft naan with mint chutney & onions",
"jalebi": "Crispy golden saffron spirals soaked in fragrant sugar syrup",
"kulfi": "Traditional frozen milk dessert with cardamom, pistachio & saffron",
},
menuDescriptions: {
"palak-paneer": "Cottage cheese cooked in a creamy spinach gravy with mild spices and aromatic herbs.",
"shahi-paneer": "Soft cottage cheese in a rich, creamy cashew and tomato gravy with Indian spices.",
"malai-kofta": "Soft vegetable koftas simmered in a rich and creamy onion-tomato gravy with mild spices.",
"daal-makhani": "Slow-cooked black lentils in a buttery, creamy tomato gravy with aromatic spices.",
"lahore-chana": "Spiced chickpeas cooked in a tangy onion-tomato gravy with traditional Punjabi spices.",
},
// Full Menu Page (fallback to English for now)
menu: {
title: 'Our Menu',
subtitle: 'Traditional recipes. Generous portions. Made with heart.',
searchPlaceholder: 'Search dishes...',
showVegetarian: 'Show Vegetarian',
vegetarianOnly: 'Vegetarian Only',
clearFilters: 'Clear filters',
noResults: 'No dishes found matching your filters.',
dishes: 'dishes',
},
experience: {
badge: 'شاہی طریقہ',
title: 'دعوت جیسی گرمی۔\nمحل جیسا سکون۔',
heritage: {
title: 'شاہی وراثت',
text: 'نسلوں سے چلے آ رہے نسخے۔ ہر پکوان پنجاب اور برصغیر کی شاہی رasoئیوں کی کہانی سناتا ہے۔',
},
generous: {
title: 'سخی اور ایماندار',
text: 'بڑی سرونگ۔ کوئی شارٹ کٹ نہیں۔ ہم ہر مہمان کو خاندان کی طرح مانتے ہیں — جیسے مہمان نوازی ہونی چاہیے۔',
},
grace: {
title: 'جدید شان',
text: 'اسکیم اور بیکاپلان میں خوبصورت جگہیں۔ تیز اور سوچ سمجھ کر کی گئی سروس۔ تحفے جیسی پیکنگ۔',
},
},
locations: {
badge: 'گوٹنبرگ میں دو گھر',
title: 'مہمان بن کر آئیں۔\nخاندان بن کر جائیں۔',
},
footer: {
tagline: '2016 سے گوٹنبرگ میں اصلی انڈین اور پاکستانی کھانا۔',
locations: 'ہمارے مقامات',
explore: 'دریافت کریں',
follow: 'ہمیں فالو کریں',
},
add: 'شامل کریں',
viewCart: 'کارٹ دیکھیں',
},
} as const;
export function getTranslation(lang: Language) {
return translations[lang];
}