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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Depend dropdown items ...
Power Apps
Answered

Depend dropdown items on chosen variable

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I'm making an app kinda similar to a translator.

At the first screen you choose your language, let's call the variable languageuser. Now I want to make a dropdown, where you see minute, hours, days, in your chosen language. But even though there are not many entries needed in the connected google table, i can't get the items of the dropdown to depend on the chosen languageuser. 

How do I have to make the table and what is the needed formula to connect those two?

 

Help would be really appreciated!

Categories:
I have the same question (0)
  • JayMagness Profile Picture
    1,663 on at

    Hi,

     

    The date and times are not really by language by by region, the pointer below gives examples and overview.

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/show-text-dates-times

     

    Now Language Translation is done with the Language Translation Connector.

     

    Jay

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello Jay,

    thanks for your answer but i guess i have to elaborate a bit on my idea.

     

    I ask them "since when do you have this problem?"
    And then they should have one dropdown to select the number e.g. 3 and another dropdown to select the time e.g. minutes, hours etc.  -> 3 hours

     

    But the hours should depend on languageuser, e.g. when they chose spanish it says minuto, hora etc.

     

    Thanks in advance

     

  • JayMagness Profile Picture
    1,663 on at

    Hi again,

     

    I am still not sure if you have format or language as your end goal.

     

    You can use the Translator Connector to get the text conversion in real time, but the language needs to be chose one way ot another.

     

    https://docs.microsoft.com/en-us/connectors/microsofttranslator/

     

    Again is easier to go through Ideas on teams but totally your chose.

     

    Jay

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It might sound more complicated but i want to take the translations manually from this table. 

     

    So if languageuser is "german" then the column with the german words should appeare in the dropdown menu to be selected.

    Unbenannt.JPG
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Yes, you needs can be achieved by MicrosoftTranslator connector.  Please refer to the following steps.

    1. Set App.OnStart as follows to create dropdown options.

    ClearCollect(Col1,["Day","Minute","Hours"]);

    2. I use Listbox to select language, set Items property:

    ["中文","English","日本語"]

     3. Set ListBox.OnSelect as follows, translate the col1 into selected language.

    ClearCollect(Col2,ForAll(Col1,MicrosoftTranslator.Translate(Value,MicrosoftTranslator.Detect(ListBox1.Selected.Value).Code)))

    4. Set Dropdown.Items property to Col2

    GIF_83.gif

    Hope this helps,

    Sik

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard