Interface LanguageDetectorModule

Used to detect language in user land. Can be provided as a singleton or as a prototype constructor (preferred for supporting multiple instances of i18next). For singleton set property type to 'languageDetector' For a prototype constructor set static property.

Hierarchy

  • Module
    • LanguageDetectorModule

Properties

Methods

Properties

type: "languageDetector"

Methods

  • Parameters

    • lng: string

    Returns void

  • Must return detected language

    Returns string | readonly string[]

  • Parameters

    Returns void

Generated using TypeDoc