True if solution localization is enabled, else false.
Method
Description
Check that solution localization is enabled.
Localization methods will return unmodified inputs if isEnabled returns false.
Solution localization is not available in the administration application.
localize
localize(str, resourceKey?): string
Parameters
str: string
{string} The string to localize.
OptionalresourceKey: string
{string} A resource key used to lookup the localized value.
Returns string
The localized string.
Method
Description
Localize a string using a resourceKey.
Fallback to lookup by value if the resourceKey is not found or not supplied.
This API is used for solution content localization.
Accessed from the window at
window.sas.vi.localization.solution
.Example