如何在MFC中获取当前的操作系统语言?

如何在MFC中获取当前的操作系统语言?

问题描述:





我是mfc的新手,我对如何获取当前的操作系统语言感到震惊(例如:如果是英文操作系统我必须得到它,因为英语和语言环境可以是不同的。对于英语操作系统区域设置可以是日语)。



当前语言环境我通过`GetSystemDefaultLangID`得到它并且唯一的东西我离开的是我需要获得当前的操作语言。



任何人都可以帮我解决这个问题。



提前致谢。

Hi,

I am newbie to mfc, and I got struck over how to get the current operating system language (Ex: If it is English operating system I must get it as English and locale can be different. For English OS locale can be Japanese).

Current locale I am getting it through `GetSystemDefaultLangID` and the only thing I left with is I need to get the current operating language.

Can anyone kindly help me to resolve this issue.

Thanks in advance.