Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...
    • Translate a provided string key by using the loaded dictionary of localization strings.

      Parameters

      • value: string

        The path to a localized string

      • options: { hash: object }

        Interpolation data passed to Localization#format

      Returns string

      <label>{{localize "ACTOR.Create"}}</label> <!-- "Create Actor" -->
      <label>{{localize "CHAT.InvalidCommand" command=foo}}</label> <!-- "foo is not a valid chat message command." -->