Create a Lang value from a code (such as fr or en-US) and throw exception if language is unrecognized
Retrieve Lang availables from the application configuration.
Retrieve Lang availables from the application configuration.
play.i18n.langs = ["fr", "en", "de"]
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.
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.
Utilities related to Lang values.