import locale
locale.getdefaultlocale()
import ctypes
windll = ctypes.windll.kernel32
windll.GetUserDefaultUILanguage()
locale.windows_locale[windll.GetUserDefaultUILanguage()]
How to detect the OS default language in python?