(detect-language language)
(detect-language language default)
Detects and returns the standardized language keyword for a given language identifier.
Takes a string representing a language identifier and returns the corresponding keyword. Supports multiple input formats including language names in various languages and ISO 639 codes (alpha-2, alpha-3-t, alpha-3-b). Optionally a default value can be provided.
Returns nil if:
Detects and returns the standardized language keyword for a given language identifier. Takes a string representing a language identifier and returns the corresponding keyword. Supports multiple input formats including language names in various languages and ISO 639 codes (alpha-2, alpha-3-t, alpha-3-b). Optionally a default value can be provided. Returns nil if: - The language parameter is nil - No matching language is found
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close