Hello All,
We have events in different languages, and our clients wants to select the events in their desired language.
For example
Event A is available in English, German, Italian and French.
We are sending the Event Langaind page URL to contacts based on their language, then if a contact received english event landing page, but that contact wants to view the page in German then contact should be able to navigate to the same event but in a different language which is stored as a different event record.
We are thinking to have a custom drop down and when user selects the language in this drop down we will redirect to the same event in the page different language? Is there any other way we can accomplish this task?
Please let me know if you need any additional information.
Regards
Abhilash
Hi Abhilash,
By the current design, it indicates that event service needs to retrieve another event record when user switches to another language.(A new request will be sent.)
I think you could create some custom fields to Event entity to save other languages instead, because by doing that our customization job will still be based on front-end level, and the existing drop down list and its components could still be reused for your business requirement:
By exploring label.service.ts(the component which is used for default translation functionality), we can find that it will reload window after user switched to another language to render labels in other language(selectLanguage function), and langcid will be saved into cookie.(setSelectedLanguageLcid function).
Therefore, you could leverage value of cookie to show language dynamically.
For example, in event.component.ts and in OnInit, extract langcid from cookie.
Regards,
Clofly
Hey Abhilash,
The custom language switcher on an event that points to other languages for the same event is the ideal way to do this. You would also have to connect the events with a parent record - so that when going from event A (where related events are B,C,D) - you can only show the related events in this custom dropdown.
Thanks,
Shravan
Dear Clofly,
Thank you for your reply.
We are setting up events in different languages with sessions etc.., by creating different records for different language
For example we have Event_A in four languages German, English, French and Italian, then we create 4 event records in different languages.
The main requirement is User gets email with URL to event landing page in english. After user opens it,
If user wishes to switch language user selects a custom drop down which opens the event landing page in user's desired language where name of the event and sessions will be in different language.
So the idea is to use a custom drop down for this requirement. Is there any better idea to accomplish this?
Kind Regards
Abhilash Reddy.
Hi Abhilash,
How did you set up events in different languages? In navigation bar of event website, we can see an existing drop down list for users to switch to other language.
Any screenshot with your design would be helpful, thanks.
Regards,
Clofly
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156