Counter-Strike 2

Counter-Strike 2

View Stats:
Flaim Aug 4, 2015 @ 4:40am
[tech] win10+csgo adds english keyboard layout
a few days ago i upgraded to win10.
i made sure that i only have my local keyboard layout installed and that shift+alt is not changing it.
when i was done i launched csgo somehow the US keyboard layout appeared.
yes, i can change to it via win+space which might be irritating in some situations.
fun thing about that is that the keyboard layout is nowhere to be found in the system settings and it goes away after rebooting...untill i start csgo again. it's the only game to induce this behaviour.
tried reinstalling windows to make sure it's not a windows corruption, but no luck.

please no troll responses a la "huehuehue stoopit h00man. win10 soxx. reinstall".

someone with an idea why it happens and how to stop csgo from doing this?
thanks in advance.



EDIT:

a refined version of the batch file posted in the answer:

:: List of alle Languagecodes
:: https://msdn.microsoft.com/en-us/goglobal/bb895996.aspx


@echo off

echo ----------------
echo add English (US)
echo ----------------
control intl.cpl,, /f:"AddKeyboardLanguage.xml"

echo.

echo ----------------
echo start CS:GO
echo ----------------
start steam://rungameid/730

:search
tasklist|find "csgo.exe"
IF %ERRORLEVEL% == 0 (GOTO found)
TIMEOUT /T 1
GOTO search

:found
timeout /t 5
echo.
echo ----------------
echo remove English (US)
echo ----------------
control intl.cpl,, /f:"RemoveKeyboardLanguage.xml"
Last edited by Flaim; Apr 7, 2018 @ 8:39am
< >
Showing 1-15 of 72 comments
Flaim Aug 4, 2015 @ 6:51am 
noone with a problem like that?
Flaim Aug 12, 2015 @ 6:38am 
nobody?
Z-Prime Aug 12, 2015 @ 9:14am 
Yep, I have the same issue as you. It doesn't really affect me much, as I use another English alternative. However, it does open and leave the language bar near the notification button which annoys me.
Flaim Aug 12, 2015 @ 9:36am 
finally someone! so it seems it's csgo specific
Flaim Aug 12, 2015 @ 9:39am 
Originally posted by Booketmeister:
Yep, I have the same issue as you. It doesn't really affect me much, as I use another English alternative. However, it does open and leave the language bar near the notification button which annoys me.
i'm not effected by it a lot aswell, it's just annoying knowing that something might eff up at some point.
HaganVS Sep 12, 2015 @ 12:50pm 
i have this as well, and it affects me, since I use UK layout by default. Because of that I couldn't bind \ button until I figured out that CS added unneeded US layout and I had to switch back to UK.
Benzolitz Sep 19, 2015 @ 11:28am 
I have the same problem and it is really anoying.
My standard layout is German, and I have only German enabled. When I start CS:GO English is enabled, but not officially? I see the layout in my taskbar, but under the language options English is not available.

"Workaround", so that you do not have to restart: Control Panel -> Language -> Add English --> Remove English..
Snowi Sep 19, 2015 @ 11:52am 
That no other Keyboardlayouts are installed is simply wrong, Win has all the layouts as presets in the System but you cant see them without activating them.

CS:GO has the US layout as default programmed, normaly you can change that in some sort of config. In the case of CS:GO however it is hardcoded so you cant really do something about it. ( ARMA 3 does the same btw) You can only use one of the workarounds or hope that someday Hidden Path get good and code it that it uses the system layout.
Benzolitz Sep 19, 2015 @ 11:55am 
Sure they are installed, but not enabled. And a disabled layout should not just enable itself, especially without an entry in the language options.

Also: I never had this problem with Win7, what exactly changed?
Snowi Sep 19, 2015 @ 12:03pm 
Maybe Win7 handles layout requests different. For me this problem exists like forerver in CS:GO no difference between Win7/8/10. The only thing that changed is that, since I got Win10, problems like D3D error and graphic driver "bad state" arised. All CS:GO exclusive, no other games have this kind of problems.
I have windows 7 and it is so.
i am israeli so i have hebrew keyboard, plus i am learning german so i deleted the english and put a german instead.

it is annoying to switch hebrew to german, german to english and english to hebrew instead of hebrew to german and german to hebrew
The author of this thread has indicated that this post answers the original topic.
Benzolitz Dec 29, 2015 @ 5:14am 
Last edited by Benzolitz; Jul 13, 2019 @ 1:27am
Flaim Dec 29, 2015 @ 6:29am 
Originally posted by Totoro:
I found a workaround for this problem:

1. Create a XML-file with following content (I named this file "AddKeyboardLanguage.xml"):

<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend"> <gs:UserList> <gs:User UserID="Current" CopySettingsToDefaultUserAcct="false" CopySettingsToSystemAcct="false"/> </gs:UserList> <gs:InputPreferences> <gs:InputLanguageID Action="add" ID="0409:00000409"/> </gs:InputPreferences> </gs:GlobalizationServices>

2. Create another XML-file with following content ("RemoveKeyboardLanguage.xml"):

<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend"> <gs:UserList> <gs:User UserID="Current" CopySettingsToDefaultUserAcct="false" CopySettingsToSystemAcct="false"/> </gs:UserList> <gs:InputPreferences> <gs:InputLanguageID Action="remove" ID="0409:00000409"/> </gs:InputPreferences> </gs:GlobalizationServices>

3. create a batch (.bat) file with this content:

:: List of alle Languagecodes :: https://msdn.microsoft.com/en-us/goglobal/bb895996.aspx @echo off echo ---------------- echo add English (US) echo ---------------- control intl.cpl,, /f:"AddKeyboardLanguage.xml" echo. echo ---------------- echo start CS:GO echo ---------------- start steam://rungameid/730 timeout /t 30 echo. echo ---------------- echo remove English (US) echo ---------------- control intl.cpl,, /f:"RemoveKeyboardLanguage.xml"

4. Start CS:GO with the batch file. Everytime you start the game, the English(US) language will be added, the game will be started, and then the language English (US) will be removed.

Make sure that all files are in the same folder.
Don't (!) change the start CS:GO command. if you would just start the csgo.exe, cs:go will start in an unsecure mode and without your startparameter (if you have any).
i just don't think that players should have to do such a kind of workarounds just to fix flaws in the programming of the game. it is the dev's jobs for their games to not cause such a hassle in the first place.
but thanks for your input :)
Benzolitz Dec 29, 2015 @ 6:37am 
i just don't think that players should have to do such a kind of workarounds just to fix flaws in the programming of the game. it is the dev's jobs for their games to not cause such a hassle in the first place.
but thanks for your input :)

Did I excuse them in any form? Of course it's the developers job to fix this. But as long as this is not fixed I use this "workaround"...

EDIT: small stuff
Last edited by Benzolitz; Dec 29, 2015 @ 6:42am
HaganVS Dec 29, 2015 @ 3:54pm 
Originally posted by Snowi:
Maybe Win7 handles layout requests different. For me this problem exists like forerver in CS:GO no difference between Win7/8/10. The only thing that changed is that, since I got Win10, problems like D3D error and graphic driver "bad state" arised. All CS:GO exclusive, no other games have this kind of problems.

No such errors (or any errors to be fair) on my Windows 10.
< >
Showing 1-15 of 72 comments
Per page: 1530 50

Date Posted: Aug 4, 2015 @ 4:40am
Posts: 71