# Preference center token translations? :)

**URL:** https://forum.mautic.org/t/preference-center-token-translations/33202
**Category:** Product Support
**Created:** [August 22, 2024, 11:20am UTC](https://forum.mautic.org/t/preference-center-token-translations/33202 "2024-08-22T11:20:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![markusvjh](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@markusvjh](https://forum.mautic.org/u/markusvjh)
#### Post date: [August 22, 2024, 11:20am UTC](https://forum.mautic.org/t/preference-center-token-translations/33202/1 "2024-08-22T11:20:09Z")

</div>

My Mautic version is: 5.04  
My PHP version is: 8.1.28  
My Database type and version is: 10.6.18-MariaDB-0ubuntu0.22.04.1

My problem is:

I want contacts to see the preference center page in their own language when they click unsubscribe. Right now all the tokens (segmentlist, savepreferences etc.) come in English in every translation.

Is there a way to have the tokens be translated into the correct language depending what language is set for the preference center? 🙂

Screenshot example of a test German translation email with a German translation preference center. Tokens are the English version despite the language of the translations being German, and the contact having German as their ‘preferred locale’:

 ![Screenshot 2024-08-22 at 14.15.56](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/16de0c1129c3ac6e1389275c439dd9a827bafbe8.png)

What I have tried:

Browsed through Slack, Forums and the Docs, and tried testing with user contact, email and pref center settings. Couldn’t figure it out, apologies if this info is already somewhere.

---

<div class="post-metadata">

### Author: ![markusvjh](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@markusvjh](https://forum.mautic.org/u/markusvjh)
#### Post date: [August 26, 2024, 7:59am UTC](https://forum.mautic.org/t/preference-center-token-translations/33202/2 "2024-08-26T07:59:28Z")

</div>

Update from today. It seems that the tokens are translating for me now. I didn’t change anything for the testing now, but here we are:

![Screenshot 2024-08-26 at 10.57.26](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/e1ae0fa6f736e8d0f8d077baec01b1b4390144fc.png)

---

<div class="post-metadata">

### Author: ![markusvjh](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@markusvjh](https://forum.mautic.org/u/markusvjh)
#### Post date: [August 26, 2024, 11:41am UTC](https://forum.mautic.org/t/preference-center-token-translations/33202/3 "2024-08-26T11:41:19Z")

</div>

The issue was not having the language ‘downloaded’.

You need to have the language available at /var/www/html/docroot/translations#.

To do so I had to either select the language as system default or for a user. That way Mautic downloads it and the tokens can be translated

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)
#### Post date: [August 27, 2024, 11:42pm UTC](https://forum.mautic.org/t/preference-center-token-translations/33202/4 "2024-08-27T23:42:16Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
