How to add arabic to supported languages of a flow from the Flow Scripting SDK

Hi

I'm using the flow scripting sdk for adding a flow dynamically. In flow scripting sdk the ArchLanguages object contains a collection of 23 languages. I want to add a language that is not there in this collection of 23 languages (like arabic). I can do this from architect but I have no idea on how to achieve this from the flow scripting SDK

When a language is not defined in ArchLanguages you can look it up using ArchLanguages.getByLanguageTag('ar-AE'). That's for Arabic United Arab Emirates, make sure you use the correct tag for the dialect you want. See https://mypurecloud.github.io/purecloud-flow-scripting-api-sdk-javascript/ArchLanguages.html#getByLanguageTag

1 Like

Thanks! that solved my problem.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.