Hierarchy

  • Language

Properties

Accessors

Methods

Constructors

Properties

_lang: string = Constants.Language.code

App Language

Accessors

  • get Lang(): string
  • Getter that allows to obtain the App Language based on SetLocale Action from platform!

    Static

    Memberof

    OSFramework.Helper.Language

    Returns string

  • get ShortLang(): string
  • Getter that allows to obtain the App Language with 2 characters only

    Static

    Memberof

    OSFramework.Helper.Language

    Returns string

Methods

  • Function responsible for setting up the the app language

    Parameters

    • language: string

      The value returned by platform GetCurrentLocale() method

    Returns void

Constructors