Hi all,
I'm getting the following error when using MS Translator on a couple of Power Apps. I can't seem to find anything online that explains what it means or how to resolve it. If anyone can help me understand what might be causing the error, I'd really appreciate it.
MicrosoftTranslator.Translate failed: The method 'Translate' has an invalid value for parameter 'query'
Thanks in advance
not able to add this connector into the power apps. Any solution for this? Microsoft Translator V3.
Service could not be created. Error retrieving Wadlmetadata
That text label isn't being populated from selections made in the combobox though AJ. It's being populated with data pulled from the choice column in the SharePoint list.
The combobox is then being used to filter the gallery. So only items that contain the choice(s) made through the combobox are displayed in the gallery. So there will never be an instance when the text label is blank.
Sorry if I'm mssing your point and/or not explaining my issue very well.
problem is value should not be blank. so convert like this
MicrosoftTranslator.Translate(If(IsBlank(ComboBox.Selected.Value),"No Option Selected",Concat(ComboBox.SelectedItems,Value,";")),"es")
so if there is no way that value cannot be blank than thats good right it will never go to true condition i mean No option selected
Hi AJ,
I think you're right. The issue appears to be with the syntax I've used on the secondary text labels. I need these to display and translate the content of various columns from my SharePoint list.
It doesn't appear to be an issue with MS Translator though. I've just noticed that even on the English version of my app I'm getting a 'This formula uses scope, which is not presently supported for valuation' error.
One of these text labels is pulling from a single line of text column in the SharePoint list. My formula for this is currently ThisItem.ListColumn. The others are pulling from choice columns in the SharePoint list. My formula for these is currently Concat(ThisItem.ListColumn,Value,Char(10)). I'm getting the same error message on both.
Is there a way I can tweak the syntax so it copies across the data successfully?
Thanks for your help
Thanks AJ,
Sorry, I didn't explain very well I don't think.
The second Text Label is being used to pull data from the SharePoint list column and the selections made on the combobox on the app are then being used to filter those items. So there will never be a scenario when 'No Option Selected' is required because all items are displayed until the filter is applied.
I will also need to retain the Char(10) element of the formula if possible, because the app owner has requested that items in the text label be displayed on separate lines.
Is that feasible?
Text Label (static text) - MicrosoftTranslator.Translate("label text","es")
ComboBox (items) - AddColumns(Choices('List Name'.List Column),"temp",MicrosoftTranslator.Translate(Value,"es"))
This two are good should not throw any error
For Text Label (selections from ComboBox)
MicrosoftTranslator.Translate(If(IsBlank(ComboBox.Selected.Value),"No Option Selected",Concat(ComboBox.SelectedItems,Value,";")),"es")
or Concat(ComboBox.SelectedItems,temp,";") should do
Hi AJ,
Thanks for responding. I'm converting English across the app into Spanish ("es"), Polish ("pl") and Portuguese-Brazilian (pt-br).
I'm using the following formulas:
Text Label (static text) - MicrosoftTranslator.Translate("label text","es")
ComboBox (items) - AddColumns(Choices('List Name'.List Column),"temp",MicrosoftTranslator.Translate(Value,"es"))
Text Label (selections from ComboBox) - MicrosoftTranslator.Translate(Concat(ThisItem.List Column,Value,Char(10)),"es")
The error message I mentioned is appearing when the app is launched and the 'loading' icons continually run along the top of the app.
Not sure what's causing the problem.
give the formula you are using for translator
and a sample value
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2