language package:pango

An RFC-3066 language designator to choose scripts.
Take a RFC-3066 format language tag as a string and convert it to a Language type that can be efficiently passed around 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 '-'.
Get the current Language of this context.
Set the default Language of this context.
Specifying no particular language.
A hint as to what language this piece of text is written in.
Extract the Language used for this PangoItem.