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.
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.