Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILanguageManager

Hierarchy

  • ILanguageManager

Implemented by

Index

Methods

add

  • Parameters

    Returns void

createTranslationId

  • createTranslationId(dictionary: number, entry: number, translationType?: TranslationType): string
  • Parameters

    • dictionary: number
    • entry: number
    • Optional translationType: TranslationType

    Returns string

evalString

  • evalString(str: string): string
  • Parameters

    • str: string

    Returns string

extendLanguage

  • Parameters

    Returns void

getDefault

  • Returns ILanguage

getDictionaryId

  • getDictionaryId(dictionaryName: string): Dictionary
  • Parameters

    • dictionaryName: string

    Returns Dictionary

getEntryId

  • getEntryId(dictionaryName: string, entryName: string): number
  • Parameters

    • dictionaryName: string
    • entryName: string

    Returns number

getLanguage

  • getLanguage(name: string): ILanguage | undefined
  • Parameters

    • name: string

    Returns ILanguage | undefined

getLanguages

  • Returns ILanguage[]

getLoaded

  • Returns ILanguage

getTranslation

  • Parameters

    • translationId: string

    Returns string | ITranslation

  • Parameters

    Returns ITranslation

  • Parameters

    Returns ITranslation

  • Parameters

    Returns string

getTranslationString

  • getTranslationString(translationId: string): string
  • getTranslationString(dictionary: BindPress, entry: string): string
  • getTranslationString(dictionary: Dictionary, entry: number): string
  • getTranslationString(dictionary: Dictionary, entry: number, translationType: all): string
  • getTranslationString(dictionary: Dictionary, entry: number, translationType: TranslationType): string
  • getTranslationString(translation: ITranslation): string
  • Parameters

    • translationId: string

    Returns string

  • Parameters

    Returns string

  • Parameters

    Returns string

  • Parameters

    Returns string

  • Parameters

    Returns string

  • Parameters

    Returns string

getUiTranslation

  • Parameters

    Returns string

load

  • Parameters

    Returns void

parseTranslationId

  • parseTranslationId(translationId: string): [number, number, TranslationType] | undefined
  • Parameters

    • translationId: string

    Returns [number, number, TranslationType] | undefined

refreshUiTranslation

  • refreshUiTranslation(element: JQuery): void
  • Parameters

    • element: JQuery

    Returns void

refreshUiTranslations

  • Parameters

    Returns void

reload

  • reload(): void
  • Returns void

remove

  • Parameters

    Returns void

removeExtension

  • removeExtension(id: number): void
  • Parameters

    • id: number

    Returns void

shouldWarnOnInvalidOrMissingEntry

  • shouldWarnOnInvalidOrMissingEntry(entryName?: string): boolean
  • Parameters

    • Optional entryName: string

    Returns boolean

Generated using TypeDoc