Hello Community,
Is there an easy way to remove 'extra' languages from the Event Portal? We are a small company supporting a single language, and having all of the content for the various languages is quite a bit to wade through when we want to make a simple change.
Has anyone built a single-language version of the Events Portal? If not, can anyone provide some hints on how this could be done?
Thanks!
Hi Partner,
Please refer to following steps to remove localized content.
1. Open DeployToDynamics365Instance.ps1, comment all lines which contain keyword "json" besides 1033.json.(English)
2. Set the property which controls display of language dropdown list to false.
3. Delete all json related web files and their attachments.
However, I still recommend that you only disable the property of configuration file, which will leave extensibility for future and avoid potential issue.
Furthermore, size of total localization files is lower than 1MB.
Regards,
Clofly
Thank you, cloflyMao
Ideally, we would like to leave out ALL of the localized content related to the languages that we do not intend to support; it's quite a lot to wade through.
It's looking like we will have to get the source code and do our own build, but I was hoping somone already had...
Thank you, PriyaGarg
We have done this, yet the languages drop-down still displays all of them.
Hi SPArchitect,
Language of the Event Portal can be controlled by restricting "Supported Languages" on the Event Portal website record. The extra languages that is not required can be deactivated.
To do:
This should limit the number of languages in the drop-down on Event Portal.
- Priya
Hi Partner,
We need to download sample event website and add customization locally, then upload the compiled files to portal using an automation deployment script.
You can find tutorial about how to customize event website in this article:
https://docs.microsoft.com/en-us/dynamics365/marketing/developer/event-management-web-application
Or refer to this blog:
However, it is very easy to disable language options menu: in extracted folder, open src\environments\environment.ts, set showLanguageDropdown property to false.
Result
Introduction to all environment configuration parameters can be found here:
Regards,
Clofly
André Arnaud de Cal...
291,996
Super User 2025 Season 1
Martin Dráb
230,853
Most Valuable Professional
nmaenpaa
101,156