Hierarchy

  • StiLocalization

Index

Accessors

Static cultureName

  • get cultureName(): string
  • set cultureName(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

Methods

Static addLocalizationFile

  • addLocalizationFile(filePath: string, load?: boolean, language?: string): string
  • Parameters

    • filePath: string
    • Default value load: boolean = false
    • Default value language: string = ""

    Returns string

Static get

  • get(category: string, key: string): string
  • Parameters

    • category: string
    • key: string

    Returns string

Static getJsonStringLocalization

  • getJsonStringLocalization(): string
  • Returns string

Static loadLocalization

  • loadLocalization(localizationXml: any, extension?: boolean): string
  • Parameters

    • localizationXml: any
    • Default value extension: boolean = false

    Returns string

Static loadLocalizationFile

  • loadLocalizationFile(filePath: string): string
  • Parameters

    • filePath: string

    Returns string

Static setLocalization

  • setLocalization(localizationXml: string, onlyThis?: boolean): void
  • Parameters

    • localizationXml: string
    • Default value onlyThis: boolean = false

    Returns void

Static setLocalizationFile

  • setLocalizationFile(filePath: string, onlyThis?: boolean): void
  • Parameters

    • filePath: string
    • Default value onlyThis: boolean = false

    Returns void

Object literals

Static languages

languages: object

English

English: object = StiLocalization.enLanguage

Type declaration

  • cultureName: string
  • filePath: string
  • jsonString: string
  • language: string

Generated using TypeDoc