Closed BuildmodeOne closed 1 year ago
Issue #265 is still missing and must be implemented before merge / release.
Issue #265 is still missing and must be implemented before merge / release.
I just discussed this topic with @alexhorn and we came to the conclusion that a English privacy policy would not be necessary doe to the fact that most of the users are German.
Additionally, as far as im concerned the GDPR does not demand a English version.
Issue #265 is still missing and must be implemented before merge / release.
I just discussed this topic with @alexhorn and we came to the conclusion that a English privacy policy would not be necessary doe to the fact that most of the users are German.
Additionally, as far as im concerned the GDPR does not demand a English version.
That's right, I probably mixed something up about GDPR. Although it is usually best practice and would certainly make sense in the long term.
@FabianSimonGross are you sure you are running the latest version? I double checked all pages you mentioned and have no problems whatsoever.
@FabianSimonGross are you sure you are running the latest version? I double checked all pages you mentioned and have no problems whatsoever.
Yes somehow my sync failed now i checked it again with the newest version. Still some things are there to do 👯
@FabianSimonGross are you sure you are running the latest version? I double checked all pages you mentioned and have no problems whatsoever.
Yes somehow my sync failed now i checked it again with the newest version. Still some things are there to do 👯
Okay, some things won't work because you need to set a DeepL API key in your .env.local file.
@FabianSimonGross I just committed changes to use a simple fallback if DeepL is not configured. Can send you the DeepL API Key for real testing.
Okay execpt for the Library Stuff it is working fine and should be :ok:
Closes #96
🤖 Generated by Copilot at 4e52ee3
Summary
Added internationalization support to various components of the app using
next-i18next
and theuseTranslation
hook. Created aLanguageModal
component to allow users to switch languages. Translated card titles, texts, and UI elements using thet
function and translation namespaces. Modified theallergens.json
file to store allergen names in both German and English. Used the DeepL API to translate room functions.Walkthrough
LanguageModal
component to allow users to change the language of the app (F15)NEXT_PUBLIC_DEEPL_ENDPOINT
environment variable to enable the use of the DeepL API for translating room functions (link)label
property and addi18nKey
property to the card objects in theALL_DASHBOARD_CARDS
array (link-link)BaseCard
component to accepti18nKey
prop and uset
function to display the translated card title (link,link,link,link)CalendarCard
,EventsCard
,FoodCard
,RoomCard
, andTimetableCard
components to passi18nKey
prop toBaseCard
component (link,link,link,link,link)CalendarCard
,ElectionPrompt
,EventsCard
,FoodCard
,InstallPrompt
,MobilityCard
,RoomCard
,SurveyPrompt
,DashboardModal
,FilterFoodModal
,PersonalDataModal
, andThemeModal
components to useuseTranslation
hook andt
function to translate the texts and labels (link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link)AppNavbar
component to useuseTranslation
hook andt
function to translate the icon titles (link,link,link,link)RoomMap
component to useuseTranslation
hook,t
function, andgetTranslatedFunction
function to translate the room functions, floor names, and texts (link,link,link,link,link,link,link,link,link,link,link,link,link,link,link)allergens.json
file to store the allergen names in both German and English, using the language code as the key (link)