---
title: "Fluid: the translate ViewHelper"
manual: "TYPO3 Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3coreapi:xliff-api-fluid@main"
source: "ApiOverview/Localization/LocalizationApi/TranslateViewHelper.rst"
rendered: "2026-09-30T05:33:23+00:00"
---

# Fluid: the translate ViewHelper {#xliff-api-fluid}

In Fluid, a typical call to fetch a string in the user's selected language looks like this:

```html
<f:translate key="key1" extensionName="SomeExtensionName" />
// or inline notation
{f:translate(key: 'someKey', extensionName: 'SomeExtensionName')}
```

If the correct context is set, the current extension name and language will be
provided by the request. Otherwise it must be added.

> [!NOTE]
> **See also**
>
> ViewHelper Reference: [Translate ViewHelper \<f:translate>](https://docs.typo3.org/other/typo3/view-helper-reference/main/en-us/Global/Translate.html#typo3-fluid-translate)
