Obtains the language that Windows is using. function Language:string; var sLangID:LangID; sLanguage: array [0..100] of char; begin…