Skip to main content

check_for_language

No overview available.

def check_for_language(
lang_code: string
) - > boolean

Verifies if a specific language code is supported or available within the translation system.

Parameters

NameTypeDescription
lang_codestringThe ISO language code or identifier to be validated against the translation registry

Returns

TypeDescription
booleanTrue if the language code is valid and supported, False otherwise