This pull request adds a new feature to the food section of the app, which allows the user to select a language for the food menu (default, German or English). It modifies the FoodCard, FilterFoodModal, useFoodFilter and Food components, as well as the common.json files for the German and English locales, to implement the feature.
Oh we are the coders of the FoodCard crewAnd we like to see the menus in different languages tooSo we added a feature to the FilterFoodModal viewAnd we heave away and haul away and pull the code review
Use the selectedLanguageFood prop and state to access and update the user's choice of language for the food menu in the FoodCard, FilterFoodModal and Food components (link, link, link, link, link, link, link, link, link, link)
Replace the use of i18n.languages[0] with languageFood variable in the FoodCard and Food components to display the food names and descriptions in the user's chosen language for the food menu (link, link, link, link, link, link, link, link)
🤖 Generated by Copilot at 91e571b
Summary
🌐🍽️🛠️
This pull request adds a new feature to the food section of the app, which allows the user to select a language for the food menu (default, German or English). It modifies the
FoodCard
,FilterFoodModal
,useFoodFilter
andFood
components, as well as thecommon.json
files for the German and English locales, to implement the feature.Walkthrough
default
,de
oren
) (link, link, link, link, link, link, link, link, link, link, link, link, link)selectedLanguageFood
prop and state to access and update the user's choice of language for the food menu in theFoodCard
,FilterFoodModal
andFood
components (link, link, link, link, link, link, link, link, link, link)i18n.languages[0]
withlanguageFood
variable in theFoodCard
andFood
components to display the food names and descriptions in the user's chosen language for the food menu (link, link, link, link, link, link, link, link)