Tuesday, March 19, 2024

How to Use Multilingual Language in Canvas PowerApps

Introduction:


In this Blog, we will see how to use multilingual language in Canvas PowerApps


Implementation Steps:


1. Open an Excel and Create Data Like Below and Save the Excel.

rampprakash_0-1710853889768.png

 



2. Now Navigate to https://make.powerapps.com

3. Click Apps


4. Click New Apps --> Page Design


5. Click Data Source at the Left Side and Search for IMPORT FROM EXCEL

rampprakash_1-1710853908211.png

 



6. Now Select the Excel from your Saved Location

rampprakash_3-1710853971926.png

 


7. Once After Selected the Excel you will see the Data Gets added Successfully in the PowerApps

rampprakash_4-1710853976602.png

 

 



8. Now in On Start of App write Below Code to get the Lanaguage of User (based on Broswer)

rampprakash_5-1710853981574.png

 



Set(
getCurrentLanguageofLoggedinUserBrowser,
Coalesce(
Lower(
Left(
Language(),
2
)
),
"en"
)
)


9. Now Add 3 labels (Click Insert and Click Labels)
Write Below Code
LookUp(Table2,LanguageTag=getCurrentLanguageofLoggedinUserBrowser && TextID = "Approved Leave").Text
LookUp(Table2,LanguageTag=getCurrentLanguageofLoggedinUserBrowser && TextID = "Pending Leave").Text
LookUp(Table2,LanguageTag=getCurrentLanguageofLoggedinUserBrowser && TextID = "Rejected Leave").Text


10. That' it . Now will run the PowerApps

11. For English

rampprakash_6-1710853989163.png

 



12. For Arabic

 

rampprakash_7-1710853994297.png

Day 11 - Customizing Option Sets Dropdown Fields with JavaScript

  In this Blog, we will see how to Customizing Option Sets Dropdown Fields with JavaScript label1 = formContext.getAttribute( "bosch_op...