cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Courtney
Level: Powered On

The method 'Translate' has an invalid value for parameter 'LanguageTo'

MicrosoftTranslator.Translate failed

 

Hi guys,  I've been trying to figure out how to fix this error. When I test it on my desktop this does not show up, only when I publish it to mobile. I have several languages on different screens and each time I select a new screen this message shows up. 

 

Any ideas on what needs to be done to fix this would be greatly appreciated. 

 

 

Screenshot_20190916-094608.jpg

2 REPLIES 2
Super User
Super User

Re: The method 'Translate' has an invalid value for parameter 'LanguageTo'

Hi @Courtney 

 

 

Check to see if you have passed value to languageto param

The translate frunction requires the languageto value to translate

 

example : MicrosoftTranslator.Translate("hello","fr")

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Courtney
Level: Powered On

Re: The method 'Translate' has an invalid value for parameter 'LanguageTo'

Thanks for your response. I'm still new to the platform so i'm not quite sure how/where to implement this change. Is there any chance you could simplifiy it for me?

It only seems to happen once when the screen is first made visible and once the error box is closed down, it works as normal until the app is closed. Its just really annoying when it pops us each time and gives the impression that the app in broken when accessed form a mobie device. 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 239 members 5,072 guests
Please welcome our newest community members: