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 / Updating Language Colu...
Power Apps
Answered

Updating Language Column in Collection with Microsoft.TranslaterV2()

(0) ShareShare
ReportReport
Posted on by 261

Hello 

I need some help in regards of updating an English (EN) column to Portugese (pt) in a collection.

I have a dropdown: ["en","pt","de"]

I am using the following formular for trying to achieve it:

 

BUTTON-Property: onSelect

 

ForAll(
    ShowColumns(
        newCollection,
        "Number",
        "deText"
    ),
    Patch(
        newCollection,
        {
            deText: MicrosoftTranslatorV2.Translate(
                Dropdown1.Selected.Value,
                deText
            )
        }
    )
);
Navigate(Screen1);
 
The formular is ok and I not getting any errors, but if I push the bottom the following error is thrown:
"The datasource supplied to the function is invalid..."
 
Thanks in advance for any idea to achieve that 😉
 
Cheers
Michael
 

 

Categories:
  • Verified answer
    Prus Profile Picture
    16 on at

    Try adding "This Record" in Patch, like: 

    ForAll(
     ShowColumns(
     newCollection,
     "Number",
     "deText"
     ),
     Patch(
     newCollection, ThisRecord
     {
     deText: MicrosoftTranslatorV2.Translate(
     Dropdown1.Selected.Value,
     deText
     )
     }
     )
    );

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard