Question: Currently I am using [Recaps](http://www.gooli.org/blog/recaps/) for switching between keyboard layouts. But I am looking for a replacement, because it is a little buggy and not updated for years. Do you know any replacement?

Answer: 
Use [lswitch](https://haali.net/winutils/).

> 
> Use any key to switch input languages, usage: `lswitch [keycode]`.
> Keycode is optional and defaults to context menu key. Another good
> candidate is a `CapsLock` key with a keycode of `20`.
> 
> 
> 

Cheers!
Punto Switcher can do this! <http://punto.yandex.ru/win/>
Basically it allows you to switch keyboard layout automatically, based on what you are typing. But it also can switch keyboard layouts on Caps Lock or many other keys. If don't like automatic switching you can turn it off in settings.