web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Custom Event portal and Angular - how to display data from API based on current language / how to know current UI language

(0) ShareShare
ReportReport
Posted on by 112

I am customizing the Event portal for it to display fields that should be bilingual like Event Title and Sessions Titles etc. These custom fields are available through the Events object in Angular.

1 - How can I get the current UI language in Angular? 

2 - Should I be using a pipe to handle language switching or simply put a language condition in the template?

Are there any good resources on customizing the event portal at the Angular level?

Thanks !

I have the same question (0)
  • Nya Profile Picture
    29,060 on at
  • Suggested answer
    HangryMapache Profile Picture
    112 on at

    To get the current UI language you need to use the LabelService:

    this.labelsService.getCurrentLanguageCode();
  • Nya Profile Picture
    29,060 on at

    Thanks for your sharing.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 189 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 66

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans