TranslateViewHelper
class TranslateViewHelper extends TranslateViewHelper (View source)
Returns translated message using source message or key ID.
uses the selected backend language
- Also replaces all placeholders with formatted versions of provided values.
= Examples =
{namespace neos=Neos\Neos\ViewHelpers}
Unregistered User
```
{neos:backend.translate(id: 'some.label.id', value: 'fallback result')}
```
```
```
```
Untranslated label
```
Properties
protected UserService
$userService
Methods
string
render()
Renders the translated label.
Details
string
render()
Renders the translated label.
Replaces all placeholders with corresponding values if they exist in the
translated label.