cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
Dual Super User
Dual 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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,774)