Class

ru.makkarpov.scalingua.Language

English

Related Doc: package Language

Permalink

class English extends Language

A fallback English language that always returns the same message strings.

Linear Supertypes
Language, TaggedLanguage, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. English
  2. Language
  3. TaggedLanguage
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new English(tags: TaggedLanguage)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. def id: LanguageId

    Permalink

    A exact (with country part) ID of this language.

    A exact (with country part) ID of this language.

    Definition Classes
    EnglishLanguage
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def merge(other: Language): Language

    Permalink

    Merges this language with specified other.

    Merges this language with specified other. Conflicting messages will be resolved using this language. Plural function will be used from this language.

    other

    Language to merge

    returns

    Merged language

    Definition Classes
    EnglishLanguage
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def plural(msgctx: String, msgid: String, msgidPlural: String, n: Long): String

    Permalink

    Resolve plural form of message with a context.

    Resolve plural form of message with a context.

    msgctx

    A context of message

    msgid

    A singular form of message

    msgidPlural

    A plural form of message

    n

    Numeral representing which form to choose

    returns

    Resolved plural form of message

    Definition Classes
    EnglishLanguage
  18. def plural(msgid: String, msgidPlural: String, n: Long): String

    Permalink

    Resolve plural form of message without a context

    Resolve plural form of message without a context

    msgid

    A singular form of message

    msgidPlural

    A plural form of message

    n

    Numeral representing which form to choose

    returns

    Resolved plural form of message

    Definition Classes
    EnglishLanguage
  19. def singular(msgctx: String, msgid: String): String

    Permalink

    Resolve singular form of message with a context.

    Resolve singular form of message with a context.

    msgctx

    A context of message

    msgid

    A message to resolve

    returns

    Resolved message or msgid itself.

    Definition Classes
    EnglishLanguage
  20. def singular(msgid: String): String

    Permalink

    Resolve singular form of message without a context.

    Resolve singular form of message without a context.

    msgid

    A message to resolve

    returns

    Resolved message or msgid itself.

    Definition Classes
    EnglishLanguage
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def taggedPlural(tag: String, n: Long): String

    Permalink

    Returns plural string resolved by tag with respect to quantity

    Returns plural string resolved by tag with respect to quantity

    tag

    String tag

    n

    Quantity

    returns

    Resolved string

    Definition Classes
    EnglishTaggedLanguage
  23. def taggedSingular(tag: String): String

    Permalink

    Returns singular string resolved by tag

    Returns singular string resolved by tag

    tag

    String tag

    returns

    Resolved string

    Definition Classes
    EnglishTaggedLanguage
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Language

Inherited from TaggedLanguage

Inherited from AnyRef

Inherited from Any

Ungrouped