Update Medicat_Installer.bat

This commit is contained in:
Matthew Clark 2022-08-06 02:17:24 -05:00 committed by GitHub
parent 56fffc4092
commit 7806cd6a95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,9 +59,13 @@ REM IF POWERSHELL CHECK IS GOOD THEN PROMPT FOR LANGUAGE
:lang
call:binfolder
FOR /F "skip=2 tokens=2*" %%a IN ('REG QUERY "HKEY_CURRENT_USER\Control Panel\International" /v "LocaleName"') DO SET "OSLanguage=%%b"
IF "%OSLanguage%"=="en-US" (
set oslang=%OSLanguage:~0,2%
IF "%oslang%"=="en" (
set lang=en
goto checkwget)
IF "%oslang%"=="fr" (
set lang=fr
goto checkwget)
echo.Select Your Language
call Button 1 2 F2 "ENGLISH" 14 2 F2 "Francais" 28 2 F2 "Portugues" 43 2 F2 "Deutsch" X _Var_Box _Var_Hover
GetInput /M %_Var_Box% /H %_Var_Hover%