diff --git a/platforms/platform-alexa/src/cli/hooks/BuildHook.ts b/platforms/platform-alexa/src/cli/hooks/BuildHook.ts index 560a89c6e..0e4f4f401 100644 --- a/platforms/platform-alexa/src/cli/hooks/BuildHook.ts +++ b/platforms/platform-alexa/src/cli/hooks/BuildHook.ts @@ -507,6 +507,17 @@ export class BuildHook extends AlexaHook { for (const key of Object.keys(publishingInfos)) { if (!locales.includes(key)) delete publishingInfos[key]; } + + _set( + projectFiles, + 'skill-package/["skill.json"].manifest.publishingInformation.locales', + publishingInfos, + ); + _set( + projectFiles, + 'skill-package/["skill.json"].manifest.privacyAndCompliance.locales', + privacyAndCompliances, + ); } /**