Package: pango
Function pango-language-from-string
Lambda Listpango-language-from-string (language) ArgumentsReturn ValueA pango-language structure. Details
Takes a RFC-3066 format language tag as a string and convert it to a pango-language structure that can be efficiently copied and
compared with other language tags.
This function first canonicalizes the string by converting it to lowercase,
mapping '_' to '-', and stripping all characters other than letters and '-'. Use the function pango-language-default if you want to get the pango-language structure for the current locale of the process. Examples(pango-language-from-string "de-de") => #<PANGO-LANGUAGE {1006D76393}> (pango-language-to-string *) => "de-de" | See also |
2020-12-4