duckstation

duckstation, but archived from the revision just before upstream changed it to a proprietary software project, this version is the libre one
git clone https://git.neptards.moe/u3shit/duckstation.git
Log | Files | Refs | README | LICENSE

set-language.bat (753B)


      1 @echo off
      2 echo Set your language
      3 echo.
      4 echo Examples:
      5 echo   en    ^<-- English
      6 echo   en-au ^<-- Australian English
      7 echo         ^<-- Remove language setting
      8 echo.
      9 echo For the 369-1 2-digit language code
     10 echo https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
     11 echo.
     12 echo If you require a country code as well (you probably don't)
     13 echo https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
     14 echo.
     15 echo.%lang%
     16 set /p newlang="Enter language code: "
     17 if defined newlang ( setx lang %newlang% )
     18 if defined lang if not defined newlang ( 
     19   echo Removing language setting...
     20   setx lang "" 1>nul
     21   reg delete HKCU\Environment /F /V lang 2>nul
     22   reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /F /V lang 2>nul
     23 )
     24 pause