From ee35d71582c7032aea3321e27b85cde7459f101b Mon Sep 17 00:00:00 2001 From: Paulhenry Saux Date: Tue, 1 Sep 2026 12:06:03 +0200 Subject: [PATCH] fix: add translations for plugind from marketplace --- app/api/admin/marketplace/route.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/api/admin/marketplace/route.ts b/app/api/admin/marketplace/route.ts index b60dd6a66..914d88b46 100644 --- a/app/api/admin/marketplace/route.ts +++ b/app/api/admin/marketplace/route.ts @@ -365,6 +365,10 @@ export async function POST(request: NextRequest) { ...(declaredApiPostPaths.length > 0 ? { apiPostPaths: declaredApiPostPaths } : {}), + ...(manifest.locales && typeof manifest.locales === 'object' + ? { locales: manifest.locales as ServerPlugin['locales'] } + : {}), + }; await savePlugin(plugin, code);