Class: I18n

I18n

I18n
Build Instance which shall be used outside of tests.


new I18n()

Methods


get(key [, fallback])

Retrieve portal constants.

Parameters:
Name Type Argument Description
key String

The key of the constant.

fallback String <optional>

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

Returns:

If not available, undefined will be returned.

Type
String

getByApp(guid, key [, fallback])

Retrieve application constants.

Parameters:
Name Type Argument Description
guid String

The application GUID.

key String

The key of the constant.

fallback String <optional>

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

Returns:

If not available, undefined will be returned.

Type
String