Skip to main content
Skip table of contents

ibihelpme_GetCurrentUILanguage

Signature
ibihelpme_GetCurrentUILanguage(): string
DescriptionReturns the currently selected UI language (including country code where applicable)
Available from API version1.0.0

Parameter

No parameters required

Return value

string

Current selected language as per ISO 639-1. May also contain a country code as per ISO 3166-1. For example 'de', 'de-CH' etc.

Example

JS
var language = window.external.ibihelpme_GetCurrentUILanguage();
if(language === 'de' || language === 'de-CH' || language === 'de-DE')
	alert('German');
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.