play.api.i18n.Lang
See theLang companion object
A Lang supported by the application.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Returns
-
the Java version for this Lang.
Convert to a Java Locale value.
Convert to a Java Locale value.
Attributes
Deprecated methods
Whether this lang satisfies the given lang.
Whether this lang satisfies the given lang.
If the other lang defines a country code, then this is equivalent to equals, if it doesn't, then the equals is only done on language and the country of this lang is ignored.
This implements the language matching specified by RFC2616 Section 14.4. Equality is case insensitive as per Section 3.10.
Value parameters
- accept
-
The accepted language
Attributes
- Deprecated
- true
In this article