Skip to content

Commit

Permalink
set default language to English
Browse files Browse the repository at this point in the history
  • Loading branch information
jelveh committed Mar 17, 2024
1 parent 86080b0 commit 5b9577c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/initgui.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ window.initgui = async function(){
puter.setAPIOrigin(api_origin);

// determine locale
// const userLang = navigator.language || navigator.userLanguage || 'en';
// window.locale = userLang?.split('-')[0] ?? 'en';
window.locale = 'ko';
const userLang = navigator.language || navigator.userLanguage || 'en';
window.locale = userLang?.split('-')[0] ?? 'en';

// Checks the type of device the user is on (phone, tablet, or desktop).
// Depending on the device type, it sets a class attribute on the body tag
// to style or script the page differently for each device type.
Expand Down

0 comments on commit 5b9577c

Please sign in to comment.