Package: pango
Function pango:language-from-string
Lambda Listpango:language-from-string (language) ArgumentsReturn ValueThe newly created pango:language instance. Details
Takes a RFC-3066 format language tag as a string and convert it to a pango:language instance 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 pango:language-default function if you want to get the pango:language instance 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 |
2025-2-15