How to get the language value?

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I know that Thread.CurrentThread.CurrentCulture will get me "en-US",
"en-GB", "fr-FR" and so on ...

I want to get only the language value. I mean the two first letters:
"en" or "fr".

How can I do this?

Thanks,

Miguel
 
Back
Top