cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
rschmid
Level: Powered On

Use Language function in Power Apps with an app to Microsoft Teams

We have created a Powerapp form, with which users can request a team. We have now integrated this Powerapp into teams. Unfortunately the language query does not work when I open the app directly in teams.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-language

But in the browser e.g. in Chrome and Edge the language is always shown in the browser.
Does the Language() function not work directly from teams or am I doing something wrong.
Are there other possibilities?

thanks roland

 

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft v-siky-msft
Microsoft

Re: Use Language function in Power Apps with an app to Microsoft Teams

@rschmid 

 

Yes, I also reproduce your issue. Even if the OS and Teams Language Setting have been configured to German, the Language() function still returns "en-US".

After my research, I find English is the Default language, If you want to localize the App, please refer to this article: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/apps-localization#l... 

If your provide localized versions of your application it is very likely that your users will respond with the same language. Teams does not translate the user submissions back to the default language.


Sik

View solution in original post

3 REPLIES 3
Microsoft v-siky-msft
Microsoft

Re: Use Language function in Power Apps with an app to Microsoft Teams

@rschmid 

Could you show the details about how did you handle with Language() function?

I have made a simple test, just use a label to show the User's locale, and it can work well in browser and Teams.

Could you share your steps? so we can reproduce the issue. 

Snipaste_2020-02-04_15-53-17.png

Sik

 

rschmid
Level: Powered On

Re: Use Language function in Power Apps with an app to Microsoft Teams

thanks for the feedback,
when I output the function Language() in my poweapp, I get different values back.

 

  • In the browser Chrome (the language is set to english) --> result = "en" --> which is correct
  • In the Edge browser (the language is inherited from Windows10 and is German) --> result = "de-DE" --> which is correct
  • in Teams the Powerapp was added as an App --> result = "en-US" for all users even if both the operating system and all browser language settings are configured in German. --> which is false

Is it possible that as soon as the Powerapp is added as an app in teams, "en-US" is always displayed? This seems to be the case for you. What happens if you set the language settings in your browser and operating system to e.g. German? Is "en-US" also displayed in your teams?

Thanks for the help

Greetings

Roland

 

Microsoft v-siky-msft
Microsoft

Re: Use Language function in Power Apps with an app to Microsoft Teams

@rschmid 

 

Yes, I also reproduce your issue. Even if the OS and Teams Language Setting have been configured to German, the Language() function still returns "en-US".

After my research, I find English is the Default language, If you want to localize the App, please refer to this article: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/apps-localization#l... 

If your provide localized versions of your application it is very likely that your users will respond with the same language. Teams does not translate the user submissions back to the default language.


Sik

View solution in original post

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,906)