trait Langs extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- Langs
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
Concrete Value Members
- def asJava: i18n.Langs
- returns
the Java version for this Langs.
- def preferred(candidates: Seq[Lang]): Lang
Select a preferred language, given the list of candidates.
Select a preferred language, given the list of candidates.
Will select the preferred language, based on what languages are available, or return the default language if none of the candidates are available.
This implements the Matching of Language Tags specified in RFC 4647 section 3.4.
- candidates
List of candidates ordered by user's preferences
Manages languages in Play