Create a Lang value from a code (such as fr or en-US) and throw exception if language is unrecognized
Create a Lang value from a code (such as fr or en-US) and throw exception if language is unrecognized
The default Lang to use if nothing matches (platform default)
Create a Lang value from a code (such as fr or en-US) or none if language is unrecognized.
Retrieve Lang availables from the application configuration.
Retrieve Lang availables from the application configuration.
play.i18n.langs = ["fr", "en", "de"]
(Since version 2.5.0) Inject Langs into your component
Guess the preferred lang in the langs set passed as argument.
Guess the preferred lang in the langs set passed as argument. The first Lang that matches an available Lang wins, otherwise returns the first Lang available in this application.
(Since version 2.5.0) Inject Langs into your component
Utilities related to Lang values.