How do I get teams to provide the currently configured language to navigator.languages

Piotr Psuty 0 Reputation points
2023-11-28T10:06:14.89+00:00

I have a Personal Teams Tab app, the front end code gets the language and locale settings from

navigator.languages

Teams in browser picks it up without issue and bases it on the browser language settings. Desktop and mobile teams on the other hand seems to be getting it from some place we can't determine.

We have some users stuck in US format and some in UK. so far I have tried changing the following settings to no avail:

  • Teams language settings (both in new and old teams)
  • Windows Language and format settings
  • Microsoft 365 account language settings.

I have also logged out and back into teams as well as uninstalled the app in teams.

I would greatly appreciate if someone could tell me where the language setting that is passed into navigator.languages comes from.

Microsoft Teams | Development
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.