How can I make a conditional statement on input language?

I want to make a macro, that does something when my input source is US, and something else if it is RU (Russian). I can’t find anywhere how I can do that.

This maybe:


Thank you Tom. My bad for not searching it well enough.