---
title: Content Patcher {{Fluent}} tokens
tags: project-fluent
---
# Content Patcher ``{{Fluent}}`` tokens
Project Fluent can be used in [Content Patcher](https://www.nexusmods.com/stardewvalley/mods/1915) mods via the `{{Fluent}}` token.
## Setup
To use Fluent translations in Content Patcher mods via the `{{Fluent}}` token, you have to make some changes to your `manifest.json`.
First, you have to add a dependency for Project Fluent:
```json
{
// ...
"Dependencies": [
{
"UniqueID": "Shockah.ProjectFluent"
}
]
}
```
Second, you also have to declare that Project Fluent should register the `{{Fluent}}` token for your Content Patcher mod:
```json
{
// ...
"UsesFluentContentPatcherTokens": true
}
```
Project Fluent will then register the `{{Fluent}}` token on your mod's behalf.
## Usage
The usage is similar to how you would use [the `{{i18n}}` Content Patcher token](https://github.com/Pathoschild/StardewMods/blob/develop/ContentPatcher/docs/author-guide/translations.md).
To get a simple translation, write `{{Fluent:your-translation-key}}`.
To specify the FTL file to retrieve a translation from, use the `|file` argument:
`{{Fluent:your-translation-key |file=subfile}}`
Unlike the `{{i18n}}` token, the `{{Fluent}}` token does not support the `|default` argument -- if a translation is not found, it will default to the translation key by default.
Any other arguments provide values for translation tokens, similar to the `{{i18n}}` token.