Package

ViewHelpers

ViewHelper Documentation

v:resource.language

Resource: Language

Reads a certain language file with returning not just one single label, but all the translated labels.

Examples

<!-- Tag usage for force getting labels in a specific language (different to current is possible too) -->
<v:resource.language extensionName="myext" path="Path/To/Locallang.xlf" languageKey="en"/>

<!-- Tag usage for getting labels of current language -->
<v:resource.language extensionName="myext" path="Path/To/Locallang.xlf"/>

Arguments

as string

Template variable name to assign; if not specified the ViewHelper returns the variable instead.

extensionName string

Name of the extension

path string

Absolute or relative path to the locallang file

languageKey string

Key for getting translation of a different than current initialized language

ViewHelper Resources

Schema Resources