Provides functions to get language constants.

Hierarchy

  • I18nWrapper

Methods

Methods

  • Retrieve portal constants.

    Parameters

    • key: string

      The key of the constant.

    • Optional fallback: string

      The fallback to be used, if key wasn't found.

    Returns undefined | string

    Example

    ix.text.i18n.get("<LANGUAGE CONSTANT>", "Foo Bar");
    
  • Retrieve application constants.

    Parameters

    • guid: string

      The application GUID.

    • key: string

      The key of the constant.

    • Optional fallback: string

      The fallback to be used, if key wasn't found.

    Returns undefined | string

    Example

    ix.text.i18n.getByApp("<GUID>", "<LANGUAGE CONSTANT>", "Foo Bar");