trait ManagesTranslations (View source)

Properties

protected array $translationReplacements

The translation replacements for the translation being rendered.

Methods

void
startTranslation(array $replacements = [])

Start a translation block.

string
renderTranslation()

Render the current translation.

Details

void startTranslation(array $replacements = [])

Start a translation block.

Parameters

array $replacements

Return Value

void

string renderTranslation()

Render the current translation.

Return Value

string