How to get current browser/system language in power apps

%3CLINGO-SUB%20id%3D%22lingo-sub-2039763%22%20slang%3D%22en-US%22%3EHow%20to%20get%20current%20browser%2Fsystem%20language%20in%20power%20apps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2039763%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EIn%20the%20power%20app%20there%20is%20%22Language()%22%20function%20which%20returns%20user's%20current%20language%20%2Cbut%20only%20if%20the%20app%20is%20in%20Edit%20mode.When%20I%2Fend%20user%20run%20the%20app%20%2C%20it%20always%20return%20%22en-US%22%20though%20the%20browser%20language%20different%20than%20English%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22EditMode.PNG%22%20style%3D%22width%3A%20509px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F244722i81E2B50886DA5B8B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22EditMode.PNG%22%20alt%3D%22Edit%20Mode%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EEdit%20Mode%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22RunMode.PNG%22%20style%3D%22width%3A%20640px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F244723iC72562B95535D49A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22RunMode.PNG%22%20alt%3D%22Run%20Mode%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ERun%20Mode%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20the%20best%20way%20to%20get%20the%20browsers%20language%20correctly.%3C%2FP%3E%3CP%3EPlease%20suggest.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2039763%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPower%20Platform%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

In the power app there is "Language()" function which returns user's current language ,but only if the app is in Edit mode.When I/end user run the app , it always return "en-US" though the browser language different than English

 

Edit ModeEdit ModeRun ModeRun Mode

 

What is the best way to get the browsers language correctly.

Please suggest.

0 Replies