l

L (localisation) ViewHelper

An extremely shortened and much more dev-friendly alternative to f:translate. Automatically outputs the name of the LLL reference if it is not found and the default value is not set, making it much easier to identify missing labels when translating.

Examples

<v:l>some.label</v:l>
<v:l key="some.label" />
<v:l arguments="{0: 'foo', 1: 'bar'}">some.label</v:l>

Arguments

key

DataType
string
Required
false
Description
Translation Key

default

DataType
string
Required
false
Description
If the given locallang key could not be found, this value is used. If this argument is not set, child nodes will be used to render the default

htmlEscape

DataType
boolean
Required
false
Description
TRUE if the result should be htmlescaped. This won’t have an effect for the default value

arguments

DataType
mixed
Required
false
Description
Arguments to be replaced in the resulting string

extensionName

DataType
string
Required
false
Description
UpperCamelCased extension key (for example BlogExample)