fix: Urdu menu item descriptions now fully translated
- Added complete Urdu translations for all menuDescriptions (and signatureMenuItems) in lib/translations.ts so descriptions localize properly when language=ur. - Updated sidebar 'All Dishes' label to use translated t.menu.allDishes. - Descriptions now correctly appear in Urdu (while dish names remain unchanged) on /menu page and homepage signature section. - Builds cleanly.
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ export default function MenuPage() {
|
|||||||
|
|
||||||
// Sidebar categories
|
// Sidebar categories
|
||||||
const sidebarCategories = [
|
const sidebarCategories = [
|
||||||
{ id: "All", name: "All Dishes" },
|
{ id: "All", name: t.menu.allDishes || "All Dishes" },
|
||||||
...menuCategories.map((cat) => ({ id: cat.id, name: cat.name })),
|
...menuCategories.map((cat) => ({ id: cat.id, name: cat.name })),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
+73
-69
@@ -158,6 +158,7 @@ export const translations = {
|
|||||||
clearFilters: 'Clear filters',
|
clearFilters: 'Clear filters',
|
||||||
noResults: 'No dishes found matching your filters.',
|
noResults: 'No dishes found matching your filters.',
|
||||||
dishes: 'dishes',
|
dishes: 'dishes',
|
||||||
|
allDishes: 'All Dishes',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -304,6 +305,7 @@ export const translations = {
|
|||||||
clearFilters: 'Rensa filter',
|
clearFilters: 'Rensa filter',
|
||||||
noResults: 'Inga rätter matchar dina filter.',
|
noResults: 'Inga rätter matchar dina filter.',
|
||||||
dishes: 'rätter',
|
dishes: 'rätter',
|
||||||
|
allDishes: 'Alla rätter',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -415,6 +417,7 @@ export const translations = {
|
|||||||
clearFilters: 'Clear filters',
|
clearFilters: 'Clear filters',
|
||||||
noResults: 'No dishes found matching your filters.',
|
noResults: 'No dishes found matching your filters.',
|
||||||
dishes: 'dishes',
|
dishes: 'dishes',
|
||||||
|
allDishes: 'All Dishes',
|
||||||
},
|
},
|
||||||
|
|
||||||
experience: {
|
experience: {
|
||||||
@@ -483,81 +486,82 @@ export const translations = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
signatureMenuItems: {
|
signatureMenuItems: {
|
||||||
"chicken-biryani": "Fragrant aged basmati layered with spiced chicken, saffron & caramelized onions",
|
"chicken-biryani": "خوشبودار پرانی باسمتی چاول کی تہوں میں مصالحہ دار چکن، زعفران اور کاراملائزڈ پیاز",
|
||||||
"bong-nihari": "Slow-cooked beef shank in rich aromatic gravy with ginger, lemon & fresh naan",
|
"bong-nihari": "دھیمی آنچ پر پکایا گیا گائے کا گوشت کا ٹانگ کا حصہ، امیر خوشبودار گریوی میں ادرک، لیموں اور تازہ نان کے ساتھ",
|
||||||
"panipuri": "Crispy hollow puris filled with spiced chickpeas, potatoes & tangy tamarind water",
|
"panipuri": "کرسپی کھوکھلے پوری جو مصالحہ دار چنے، آلو اور کھٹے املی کے پانی سے بھرے ہوتے ہیں",
|
||||||
"lamm-palak": "Tender lamb cooked with fresh spinach in a flavorful mild gravy",
|
"lamm-palak": "نرم بھیڑ کا گوشت تازہ پالک کے ساتھ ہلکے مزیدار گریوی میں پکایا گیا",
|
||||||
"chicken-karahi": "Wok-tossed chicken in a robust tomato, chili & ginger gravy",
|
"chicken-karahi": "ووک میں تلے ہوئے چکن کا مضبوط ٹماٹر، مرچ اور ادرک کی گریوی میں",
|
||||||
"chicken-haleem": "Slow-cooked shredded chicken with lentils, wheat & aromatic spices",
|
"chicken-haleem": "دھیمی آنچ پر پکایا گیا کٹا ہوا چکن جو دالوں، گندم اور خوشبودار مصالحوں کے ساتھ",
|
||||||
"tikka-boti-roll": "Juicy chicken tikka wrapped in soft naan with mint chutney & onions",
|
"tikka-boti-roll": "رس دار چکن ٹکا نرم نان میں لپیٹا ہوا پودینے کی چٹنی اور پیاز کے ساتھ",
|
||||||
"jalebi": "Crispy golden saffron spirals soaked in fragrant sugar syrup",
|
"jalebi": "کرسپی سنہری زعفرانی گول دائرے جو خوشبودار چینی کے شربت میں بھیگے ہوئے",
|
||||||
"kulfi": "Traditional frozen milk dessert with cardamom, pistachio & saffron",
|
"kulfi": "روایتی منجمد دودھ کی مٹھائی جو الائچی، پستہ اور زعفران سے مزین",
|
||||||
},
|
},
|
||||||
|
|
||||||
menuDescriptions: {
|
menuDescriptions: {
|
||||||
"samosa-aloo": "Crispy fried triangular pastries filled with spiced potatoes and peas.",
|
"samosa-aloo": "کرسپی تلے ہوئے مثلثی پیسٹری جو مصالحہ دار آلو اور مٹر سے بھری ہوتی ہیں۔",
|
||||||
"samosa-keema": "Flaky pastries stuffed with spiced minced meat filling.",
|
"samosa-keema": "کرسپی پیسٹری جو مصالحہ دار کییما سے بھری ہوتی ہیں۔",
|
||||||
"samosa-chat": "Crispy samosas topped with spicy chickpeas, yogurt, chutneys and fresh herbs.",
|
"samosa-chat": "کرسپی سموسے جو مصالحہ دار چنے، دہی، چٹنیوں اور تازہ جڑی بوٹیوں سے ٹاپ کیے جاتے ہیں۔",
|
||||||
"chana-chat": "Tangy spiced chickpeas mixed with potatoes, onions, tomatoes and chutneys.",
|
"chana-chat": "کھٹے مصالحہ دار چنے جو آلو، پیاز، ٹماٹر اور چٹنیوں کے ساتھ مکس کیے جاتے ہیں۔",
|
||||||
"panipuri": "Crispy hollow puris filled with spiced chickpeas and potatoes, served with tangy tamarind water.",
|
"panipuri": "کرسپی کھوکھلے پوری جو مصالحہ دار چنے اور آلو سے بھرے ہوتے ہیں، کھٹے املی کے پانی کے ساتھ پیش کیے جاتے ہیں۔",
|
||||||
"keema-naan-starter": "Soft naan bread stuffed with spiced minced meat, baked until golden.",
|
"keema-naan-starter": "نرم نان جو مصالحہ دار کییما سے بھرا ہوا، سنہری رنگ میں بیک کیا گیا۔",
|
||||||
"palak-paneer": "Cottage cheese cooked in a creamy spinach gravy with mild spices and aromatic herbs.",
|
"palak-paneer": "پنیر جو کریمی پالک کی گریوی میں ہلکے مصالحوں اور خوشبودار جڑی بوٹیوں کے ساتھ پکایا جاتا ہے۔",
|
||||||
"shahi-paneer": "Soft cottage cheese in a rich, creamy cashew and tomato gravy with Indian spices.",
|
"shahi-paneer": "نرم پنیر جو امیر، کریمی کاجو اور ٹماٹر کی گریوی میں ہندوستانی مصالحوں کے ساتھ۔",
|
||||||
"malai-kofta": "Soft vegetable koftas simmered in a rich and creamy onion-tomato gravy with mild spices.",
|
"malai-kofta": "نرم سبزیوں کے کوفتے جو امیر اور کریمی پیاز ٹماٹر کی گریوی میں ہلکے مصالحوں کے ساتھ سجائے جاتے ہیں۔",
|
||||||
"daal-makhani": "Slow-cooked black lentils in a buttery, creamy tomato gravy with aromatic spices.",
|
"daal-makhani": "دھیمی آنچ پر پکائی گئی کالی دالیں جو مکھن والی، کریمی ٹماٹر کی گریوی میں خوشبودار مصالحوں کے ساتھ۔",
|
||||||
"lahore-chana": "Spiced chickpeas cooked in a tangy onion-tomato gravy with traditional Punjabi spices.",
|
"lahore-chana": "مصالحہ دار چنے جو تیز پیاز ٹماٹر کی گریوی میں روایتی پنجابی مصالحوں کے ساتھ پکائے جاتے ہیں۔",
|
||||||
"lamm-palak": "Tender lamb cooked with fresh spinach in a mild, flavorful gravy.",
|
"lamm-palak": "نرم بھیڑ کا گوشت تازہ پالک کے ساتھ ہلکے مزیدار گریوی میں۔",
|
||||||
"lamm-vindaloo": "Spicy and tangy lamb curry in a vinegar and chili-based sauce.",
|
"lamm-vindaloo": "تیز اور کھٹا بھیڑ کا گوشت کا سالن جو سرکہ اور مرچوں پر مبنی ساس میں۔",
|
||||||
"lamm-rogan-josh": "Aromatic lamb curry simmered in a rich yogurt and Kashmiri spice gravy.",
|
"lamm-rogan-josh": "خوشبودار بھیڑ کا گوشت کا سالن جو امیر دہی اور کشمیری مصالحوں کی گریوی میں سجایا گیا۔",
|
||||||
"lamm-karahi": "Lamb pieces stir-fried in a wok with tomatoes, ginger, garlic and spices.",
|
"lamm-karahi": "بھیڑ کے ٹکڑے جو ووک میں ٹماٹر، ادرک، لہسن اور مصالحوں کے ساتھ تلے جاتے ہیں۔",
|
||||||
"bong-nihari": "Slow-cooked beef shank in a rich, aromatic gravy, traditionally served with naan.",
|
"bong-nihari": "دھیمی آنچ پر پکایا گیا گائے کا گوشت کا ٹانگ کا حصہ، امیر خوشبودار گریوی میں، روایتی طور پر نان کے ساتھ۔",
|
||||||
"paye": "Slow-simmered lamb trotters in a thick, spicy and flavorful gravy.",
|
"paye": "دھیمی آنچ پر سجایا گیا بھیڑ کے پاؤں کا سالن جو گاڑھی، تیز اور مزیدار گریوی میں۔",
|
||||||
"shahi-burger": "Juicy spiced meat patty in a soft bun with special sauces, lettuce and tomatoes.",
|
"shahi-burger": "رس دار مصالحہ دار گوشت کی پیٹی نرم بن میں خصوصی ساس، لیٹش اور ٹماٹر کے ساتھ۔",
|
||||||
"shami-sandwich": "Spiced minced meat shami kebab patties served in bread with chutney and onions.",
|
"shami-sandwich": "مصالحہ دار کییما کے شامی کباب پیٹیز بریڈ میں چٹنی اور پیاز کے ساتھ۔",
|
||||||
"chicken-biryani": "Fragrant aged basmati rice layered with tender spiced chicken, saffron and caramelized onions.",
|
"chicken-biryani": "خوشبودار پرانی باسمتی چاول کی تہوں میں نرم مصالحہ دار چکن، زعفران اور کاراملائزڈ پیاز۔",
|
||||||
"chicken-tikka": "Boneless chicken pieces marinated in yogurt and spices, grilled in a tandoor.",
|
"chicken-tikka": "ہڈیوں والے چکن کے ٹکڑے دہی اور مصالحوں میں مرینیٹ کیے گئے، ٹینڈور میں گرل کیے گئے۔",
|
||||||
"tikka-boti": "Tender chicken chunks marinated in spices and grilled on skewers.",
|
"tikka-boti": "نرم چکن کے ٹکڑے مصالحوں میں مرینیٹ کیے گئے اور سیخوں پر گرل کیے گئے۔",
|
||||||
"chicken-karahi": "Wok-tossed chicken in a robust tomato, chili and ginger gravy.",
|
"chicken-karahi": "ووک میں تلے ہوئے چکن کا مضبوط ٹماٹر، مرچ اور ادرک کی گریوی میں۔",
|
||||||
"lahore-sizzler": "Sizzling platter of marinated chicken with vegetables and spicy sauces.",
|
"lahore-sizzler": "مرینیٹ کیے گئے چکن کا سٹیلنگ پلیٹر سبزیوں اور تیز ساس کے ساتھ۔",
|
||||||
"butter-chicken": "Tender chicken in a creamy tomato and butter gravy with mild spices.",
|
"butter-chicken": "نرم چکن کریمی ٹماٹر اور مکھن کی گریوی میں ہلکے مصالحوں کے ساتھ۔",
|
||||||
"chicken-haleem": "Slow-cooked shredded chicken with lentils, wheat and aromatic spices.",
|
"chicken-haleem": "دھیمی آنچ پر پکایا گیا کٹا ہوا چکن جو دالوں، گندم اور خوشبودار مصالحوں کے ساتھ۔",
|
||||||
"lahore-pizza": "Pizza topped with spiced chicken, onions and special Lahori sauces on a crispy base.",
|
"lahore-pizza": "پizza جو مصالحہ دار چکن، پیاز اور خاص لاہوری ساس سے ٹاپ کیا گیا کرسپی بیس پر۔",
|
||||||
"kebab-pizza": "Pizza with minced meat kebab topping, cheese, onions and aromatic spices.",
|
"kebab-pizza": "پizza جس میں کییما کباب ٹاپنگ، پنیر، پیاز اور خوشبودار مصالحے۔",
|
||||||
"tikka-boti-pizza": "Pizza featuring grilled chicken tikka, cheese, tomatoes and fresh herbs.",
|
"tikka-boti-pizza": "پizza جس میں گرل چکن ٹکا، پنیر، ٹماٹر اور تازہ جڑی بوٹیاں۔",
|
||||||
"peshawari-pizza": "Naan-style pizza with tender meat, nuts, raisins and Peshawari spices.",
|
"peshawari-pizza": "نان سٹائل pizza نرم گوشت، گری دار میوے، کشمش اور پشاوری مصالحوں کے ساتھ۔",
|
||||||
"veg-pizza": "Vegetarian pizza loaded with fresh vegetables, cheese and tomato sauce.",
|
"veg-pizza": "سبزیوں والی pizza تازہ سبزیوں، پنیر اور ٹماٹر ساس سے بھری ہوئی۔",
|
||||||
"tikka-boti-roll": "Grilled chicken tikka wrapped in soft naan with mint chutney and onions.",
|
"tikka-boti-roll": "گرل چکن ٹکا نرم نان میں لپیٹا ہوا پودینے کی چٹنی اور پیاز کے ساتھ۔",
|
||||||
"kebab-roll": "Spiced minced meat kebab wrapped in naan with chutney, salad and sauces.",
|
"kebab-roll": "مصالحہ دار کییما کباب نان میں لپیٹا ہوا چٹنی، سلاد اور ساس کے ساتھ۔",
|
||||||
"falafel-roll": "Crispy falafel wrapped in naan with vegetables, hummus and tangy sauces.",
|
"falafel-roll": "کرسپی فلافل نان میں سبزیوں، حمص اور کھٹی ساس کے ساتھ۔",
|
||||||
"paneer-roll": "Grilled paneer cubes wrapped in naan with spices, chutney and fresh vegetables.",
|
"paneer-roll": "گرل پنیر کے کیوب نان میں مصالحوں، چٹنی اور تازہ سبزیوں کے ساتھ۔",
|
||||||
"namakpare": "Crispy, savory fried flour snacks seasoned with carom seeds and salt.",
|
"namakpare": "کرسپی، نمکین تلے ہوئے آٹے کے سنیکس جو اجوائن کے بیجوں اور نمک سے سیزن کیے گئے۔",
|
||||||
"jalebi": "Crispy golden saffron spirals soaked in fragrant sugar syrup.",
|
"jalebi": "کرسپی سنہری زعفرانی گول دائرے جو خوشبودار چینی کے شربت میں بھیگے ہوئے۔",
|
||||||
"gajar-halwa": "Sweet carrot pudding cooked slowly with milk, sugar, ghee and nuts.",
|
"gajar-halwa": "میٹھی گاجر کی حلوہ جو دودھ، چینی، گھی کے ساتھ آہستہ پکایا جاتا ہے اور گری دار میووں سے سجایا جاتا ہے۔",
|
||||||
"rasmalai": "Soft cheese dumplings soaked in chilled sweetened milk with cardamom and saffron.",
|
"rasmalai": "نرم پنیر کے ڈمپلنگ ٹھنڈی میٹھی دودھ میں الائچی اور زعفران کے ساتھ بھیگی ہوئی۔",
|
||||||
"kulfi": "Creamy traditional frozen milk dessert with cardamom, pistachios and saffron.",
|
"kulfi": "روایتی منجمد دودھ کی مٹھائی جو الائچی، پستہ اور زعفران سے مزین۔",
|
||||||
"masala-chai": "Traditional spiced tea brewed with milk, cardamom, ginger and aromatic spices.",
|
"masala-chai": "روایتی مصالحہ دار چائے جو دودھ، الائچی، ادرک اور خوشبودار مصالحوں کے ساتھ تیار کی جاتی ہے۔",
|
||||||
"mango-lassi": "Refreshing sweet yogurt drink blended with ripe mango and cardamom.",
|
"mango-lassi": "تازگی بخش میٹھی دہی کی ڈرنک جو پکے ہوئے آم اور الائچی کے ساتھ مکس کی جاتی ہے۔",
|
||||||
"coca-cola": "Classic chilled cola soft drink.",
|
"coca-cola": "کلاسک ٹھنڈی کولا سافٹ ڈرنک۔",
|
||||||
"pepsi-fanta": "Refreshing cola or orange flavored carbonated beverage.",
|
"pepsi-fanta": "تازگی بخش کولا یا اورنج فلیور والی کاربونیٹڈ مشروب۔",
|
||||||
"sprite-ramlosa": "Crisp lemon-lime soda or sparkling mineral water.",
|
"sprite-ramlosa": "کرسپی لیموں لائم سوڈا یا چمکتا ہوا منرل واٹر۔",
|
||||||
"energy-drink": "Caffeinated beverage for an instant energy boost.",
|
"energy-drink": "فوری انرجی بوسٹ کے لیے کیفین والی انرجی ڈرنک۔",
|
||||||
"juice": "Fresh fruit juice, typically mango or other seasonal flavors.",
|
"juice": "تازہ پھل کا رس، عام طور پر آم یا دیگر موسمی ذائقے۔",
|
||||||
"coffee": "Freshly brewed hot coffee.",
|
"coffee": "تازہ تیار گرم کافی۔",
|
||||||
"latte": "Espresso coffee with steamed milk and a light layer of foam.",
|
"latte": "ایسپریسو کافی سٹیمڈ دودھ اور ہلکے فوم کے ساتھ۔",
|
||||||
"cappuccino": "Espresso topped with steamed milk and thick foam.",
|
"cappuccino": "ایسپریسو سٹیمڈ دودھ اور گاڑھے فوم سے ٹاپ کی گئی۔",
|
||||||
"tea": "Traditional hot black tea, served plain or with milk.",
|
"tea": "روایتی گرم بلیک ٹی، سادہ یا دودھ کے ساتھ۔",
|
||||||
},
|
},
|
||||||
|
|
||||||
// Full Menu Page (fallback to English for now)
|
// Full Menu Page
|
||||||
menu: {
|
menu: {
|
||||||
title: 'Our Menu',
|
title: 'ہمارا مینو',
|
||||||
subtitle: 'Traditional recipes. Generous portions. Made with heart.',
|
subtitle: 'روایتی ترکیبیں۔ فراخ حصے۔ دل سے بنائے گئے۔',
|
||||||
searchPlaceholder: 'Search dishes...',
|
searchPlaceholder: 'پکوان تلاش کریں...',
|
||||||
showVegetarian: 'Show Vegetarian',
|
showVegetarian: 'سبزی خور دکھائیں',
|
||||||
vegetarianOnly: 'Vegetarian Only',
|
vegetarianOnly: 'صرف سبزی خور',
|
||||||
clearFilters: 'Clear filters',
|
clearFilters: 'فلٹرز صاف کریں',
|
||||||
noResults: 'No dishes found matching your filters.',
|
noResults: 'آپ کے فلٹرز سے مماثل کوئی پکوان نہیں ملے۔',
|
||||||
dishes: 'dishes',
|
dishes: 'پکوان',
|
||||||
|
allDishes: 'تمام پکوان',
|
||||||
},
|
},
|
||||||
|
|
||||||
experience: {
|
experience: {
|
||||||
|
|||||||
Reference in New Issue
Block a user