Fluid: The translate ViewHelper
In Fluid, a typical call to fetch a string in the user's selected language looks like this:
<f:translate key="key1" extensionName="SomeExtensionName" />
// or inline notation
{f:translate(key: 'someKey', extensionName: 'SomeExtensionName')}
Copied!
If the correct context is set, the current extension name and language will be provided by the request. Otherwise it must be added.
See also
ViewHelper Reference: Translate ViewHelper <f:translate>