diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx index fd458bef3..dbd006bff 100644 --- a/frontend/src/store.tsx +++ b/frontend/src/store.tsx @@ -67,7 +67,17 @@ export async function getPluginList(): Promise { headers: { 'X-Decky-Version': version.current, }, - }).then((r) => r.json()); + }).then((r) => { + let res = JSON.parse(JSON.stringify(r.json())); + const lng = navigator.language; + if (res.hasOwnProperty('name-' + lng)) { + res.name = res['name-' + lng]; + } + if (res.hasOwnProperty('description-' + lng)) { + res.description = res['description-' + lng]; + } + return res; + }); } export async function installFromURL(url: string) {