pub fn lang() -> impl Iterator<Item = String>
👎Deprecated since 1.5.0: use
langs()
insteadExpand description
Get the user’s preferred language(s).
Returned as iterator of two letter language codes (lowercase), optionally followed by a dash (-) and a two letter country code (uppercase). The most preferred language is returned first, followed by next preferred, and so on.