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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multilingual App - cha...
Power Apps
Unanswered

Multilingual App - changing the default language

(0) ShareShare
ReportReport
Posted on by 31

Hi All,

I have built a multilingual app (English & French) where the users can switch between the languages using a dropdown. I made use of the Excel connector and used the below function in the "Text" property for all the cards (so that it gets the data from the Excel table):

 

 

 

LookUp(Table1,TextID="exampleID" And LanguageTag=setLang,LocalizedText)

 

 

 

This works flawlessly and I am really happy with the result.

There's just one thing the customer doesn't like: English is a default language, and so every time a French user opens the form, it opens in English. What the user needs to do, is to select "French" from the dropdown. Which they are okay with. However, if a user saves the form as a draft, then comes back some other time to fill in the rest of the fields, the form is back to "English" and they need o pick "French" from the dropdown again. (Well, this wouldn't be a problem for me, but it is for them... 😑)

 

Is it possible to add some function to one of the dropdown properties so that it will pick the language of the user's browser settings? (I.e., if "French" is set as a main language in Edge settings, the dropdown in the form will switch to "French" automatically).

 

Or maybe there would be an option to make the form "remember" the last choice in the dropdown that user had made?

 

Please note that I cannot use the Microsoft Translator connector - it gives a warning about "Data Loss Prevention policy violation". (That's pretty much why I used the Excel connector instead)

 

Please advise,

Thank you

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,040 Most Valuable Professional on at

    Hi @m1ch6l ,
    I have something similar (actually in six languages) and maintain a user list with their preferred language. I simply look that up at App OnStart and set the language as a Variable.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • m1ch6l Profile Picture
    31 on at

    Thanks @WarrenBelz 

    I have the following function in the "OnStart" property:

     

     

    Set(setLang;Coalesce(LookUp(Table1;ddLanguage.Selected.Value = LanguageTag).LanguageTag; "en"))

     

     

    How should I change it so the language dropdown picks up the browser language?

    Also, I have the "Default" property of the dropdown set to:

    "1"

    which I guess is incorrect.

  • WarrenBelz Profile Picture
    153,040 Most Valuable Professional on at

    Hi @m1ch6l ,

    Sorry I forgot to mention, I have a list of users and their Language and set the Variable OnStart from this. I do not believe that you can detect the browser language in Power Apps.

  • KyraDN Profile Picture
    20 on at

    Hey @m1ch6l ,

    What you did with your app is exactly what I am trying to do but I am completely new to Powerapps and cannot quite figure out how to set up a multi-lingual form that allows the user to select their preferred language. In your excel file, did you create the words and translations then connected it to Powerapps?

  • WarrenBelz Profile Picture
    153,040 Most Valuable Professional on at

    Hi @KyraDN ,

    Yes - it is a rather big list with a record for every place such as Labels, Control InputTextPlaceHolders, HintText and Tooltips) and a field for each language. I had a naming protocol for the record reference field that included the field name and what it did. I also did a collection at the start of the whole list and had a Variable for the language, so simply looked up the collection for each item.

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard