Check windows language

How to check windows language?
image

I have seen topic:

In my case it returns error:
image

@idol
show full expression which you write in Assign Activity.

Hi @idol ,

Could you let us know what is the error message received ?

Hello @idol,

Your shared post’s code worked for me.

strLanguge = InputLanguage.CurrentInputLanguage.Culture.Name

image

Can you share the error?

Regards
Ömer

InputLanguage.CurrentInputLanguage.LayoutName

image

Declaring InputLanguage is not helping…

@idol ,

Could you check with the below :

System.Windows.Forms.InputLanguage.CurrentInputLanguage.LayoutName

Hello @idol,

I checked your shared post’s, it says you need to import System.Windows.Forms. Do you have it? Kindly check please.

Regards
Ömer

Added.

Can you try like in @supermanPunch 's post.

Regard
Ömer

@idol
Try this one:

@idol
Second One:

Thanks. It works :smiley:

@idol Welcome. Happy Automation