• Localize a string including variable formatting for input arguments. Provide a string ID which defines the localized template. Variables can be included in the template enclosed in braces and will be substituted using those named keys.

    Parameters

    • stringId: string

      The string ID to translate.

    • Optionaldata: object

      Provided input data.

    Returns string

    The translated and formatted string