How to determine UI language of MetaTrader from an EA?

 

I'm trying to find ways to localize an EA based on the current language selected by the user for the MetaTrader GUI.

Browsing through the MQL4 documentation I found no API that can help figuring out what is the current UI language.

Also I could not locate actually where MetaTrader stores that information either in the registry or in the file system.

Anyone has any idea how to determine, which language is selected for the UI?


Reason: