I tried to change input language by pressing shortcut commandspace and also by choosing language on the menu bar. It automatically switches to English language.
The only way I found to fix it by rebooting the Mac.
Maybe someone knows another way?
I'm using English, Japanese and Russian on a MacBook Pro running OS X Yosemite 10.10.5.