cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Laney
MVP

Microsoft TranslatorV2 Connector Detect Language Action Does Not Return Any Values

Hello,

 

I used Microsoft Translator V2 Connector Detect action to detect the language of my text but it does not return anything. Here is my code:

Set(var3,MicrosoftTranslatorV2.Detect("soy una chica"))

 

Cheers

Ee Lane

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisPiasecki
Super User
Super User

Hi @Laney,

 

I just tested this and it seems to detect the language as Spanish. Note that the Detect function returns an object with 2 attributes, the Name (e.g. Spanish) and Code (e.g. es). You can reference it in your app using var3.Name or var3.Code, like the example below:

ChrisPiasecki_1-1616211432391.png

 

ChrisPiasecki_0-1616211362513.png

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

View solution in original post

2 REPLIES 2
ChrisPiasecki
Super User
Super User

Hi @Laney,

 

I just tested this and it seems to detect the language as Spanish. Note that the Detect function returns an object with 2 attributes, the Name (e.g. Spanish) and Code (e.g. es). You can reference it in your app using var3.Name or var3.Code, like the example below:

ChrisPiasecki_1-1616211432391.png

 

ChrisPiasecki_0-1616211362513.png

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Thanks Chris! I found where I gone wrong now! Silly me 😅

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (4,300)