2

I am using Salesforce bots.

I use translations, and I have added translations for all my bot dialogs and messages, for German, Spanish and French languages.

Now I want to clone the bot into a new version to update it.

Problem is: the translations are not copied with the clone command into the new version.

I have opened a case to Salesforce and got an answer:

we have found a Bug lodged for this issue with the R&D Teams- "W-11367773"...

So I am waiting, but who knows when this will be fixed

I have also tried to deploy this bot and bot version and translations with sfdx.exe, the problem is that in the translation file, each dialog and message have their own stepIdentifier and messageIdentifier and this identifier is different for each version since I have cloned it. so this is also not possible for copying the translations.

Question:

Any possible way to clone / copy / deploy translations of the bots into new versions / production?

1 Answer 1

1

W-11367773 is marked fixed and I believe was included in Summer '22 Patch 11 which should be in your org. You can check what patch your instance is on with the trust site.

As such, cloning new versions as you did should include translations which will help you in deploying. If they do not, and you're on a patch number for Summer '22 greater than 11, I would suggest following up on that case (or creating a new one).

To be specific, the issue was the number of translations for the version as it always attempted to include translations. The fix was related to handling larger number of translations in the clone process.

6
  • Thank you for your answer @kris, currently my org is running with Summer '22 Patch 11.2. How can I access W-11367773 to see it? Jul 13, 2022 at 5:32
  • You can't access W-11367773 as that is a work item story for internal Salesforce. What you can try again is cloning your bot to a new version to check that the translations are now included. Jul 13, 2022 at 11:13
  • 1
    actually we have tested this again, and it does work now - cloning and also deploying the new version with its translation. thanks for all the help! Jul 13, 2022 at 12:35
  • I still have a problem with deploying translations, it looks like the translatation I get with the sfdx command is getting only the <type>Message</type> from each <botSteps> so all the other types are not getting deployed. do you know of this? Sep 5, 2022 at 13:43
  • I see an internal work item to fix this bug (no public facing knowledge article). Did you create a case? Might make more sense to create a separate question on here too. Sep 16, 2022 at 16:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .