Dear support desk,
After updating Survey.surveyLocalization.supportedLocales I want to remove any unsupported languages from the survey json in order for the viewer method getUsedLocales to return the correct languages.
I'm using a script like attached.
Is this the best way or can you recommend a better approach?