diff --git a/src/helpers.js b/src/helpers.js index 93b33907..9b3df23a 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -1756,6 +1756,9 @@ window.launch_app = async (options)=>{ } } + // Add locale to URL + iframe_url.searchParams.append('puter.locale', window.locale); + // Add options.args to URL iframe_url.searchParams.append('puter.args', JSON.stringify(options.args ?? {}));