I have followed the official document to build a translator in Power App. First, I created a resource in Azure successfully (Attachment Figure 1). After that, I try to add a connector "Translator" and copy and paste the key from Azure (Attachment Figure 2). However, the error occurs. Anyone can tell me are there any mistakes I have made? Thanks.
Solved! Go to Solution.
1. InputLanguage - Text Control to enter input
2. Combobox to display Languages
Set Items Property to
And Set Code and Name as per below for that language combo box
3. Set OnSelect Property of Translate button to
4. Set Text property of Label control to
Add-on: We can avoid a button too
For easy thing, We can remove the button and Set the OnChange property of the Combo box to
I have followed your steps and the translator is created successfully. I really appreciate your efforts! Thank you so much.
Now, I can input English and translate it into Chinese. It is so great!
Thank you again!
I used translator service which region was East US and never had issues. I see you created it in the Eastasia region. Not sure, the region is the problem. Can you try to create in a different region or Global region and try?
Thank you for your help and it works. However, the label still cannot display the translation. The error occurs. Did I miss any setting in the function? Thank you.
There are 3 errors as follows:
1. The name is invalid and the identification code cannot be recognized;
2. The function 'Translate' has some invalid arguments;
3. The behavior function in the non-behavior attribute, you can't use this attribute to change the value in other places of the application.
Looks like the Issue with regions and PowerApps. It works well with a console application using the subscription key.
Find the Article for the Regions Availability.
I have my Azure AD in the US and selected eastus2 as a database and not working for me. For Proof of concept, don't need to enter the subscription key
It works fine
If no subscription key is provided, the shared API key will be used, which comes with built-in throttling limits based on the number of characters that are being translated, specifically 55,000 characters per day and 100 requests per minute.
Please create a Microsoft ticket to connect using a subscription key before going to production
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.