cytoplasmic
    Preparing search index...

    Function _

    • Reactively translate a string with optional parameters. A global translation provider must be registered with registerTranslationProvider before any actual translation can happen.

      Parameters

      • msgid: string

        Translation key or default translation depending on how the translation provider is set up.

      • parameters: Record<string, ParameterValue> = {}

        An optional object containing parameters for use in the translation string. Values may be cells.

      Returns Cell<string>

      A cell containing the translated string. The cell updates if any cell parameters change or a language change event is emitted by the translation provider.