How to get SWX Language?

I want to check current SolidWorks language to allow my app to switch to same language as used in SWX.

SolidworksApi macros