Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LanguageManager

Hierarchy

  • LanguageManager

Implements

Index

Constructors

constructor

Methods

add

addTranslateSelector

  • addTranslateSelector(id: UiMessageStatic, selector: string | string[], attribute?: string, html?: boolean, func?: function): void
  • Parameters

    • id: UiMessageStatic
    • selector: string | string[]
    • Optional attribute: string
    • Optional html: boolean
    • Optional func: function
        • (translation: string): string
        • Parameters

          • translation: string

          Returns string

    Returns void

addTranslateSelectors

  • addTranslateSelectors(...translateSelectors: Array<Object | Object | Object | Object>): void
  • Parameters

    • Rest ...translateSelectors: Array<Object | Object | Object | Object>

    Returns void

evalString

  • evalString(str: string): string

getDefault

getLanguage

  • getLanguage(name: string): ILanguage | undefined

getLanguages

getLoaded

getTranslation

  • getTranslation(dictionary: Dictionary, entryIndex: number): string

load

refreshUiTranslation

reload

  • reload(): void

remove

serialize

  • Parameters

    Returns any

Generated using TypeDoc