Liking cljdoc? Tell your friends :D

jj.iso.languages


detect-languageclj

(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:

  • The language parameter is nil
  • No matching language is found
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
sourceraw docstring

get-languageclj

(get-language language)
source

language->alpha2clj

(language->alpha2 language)
source

language->alpha3-bclj

(language->alpha3-b language)
source

language->englishclj

(language->english language)
source

language->frenchclj

(language->french language)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close