# Trigger based content from objects should be translated

**URL:** https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944
**Category:** Interesting for future roadmap
**Created:** [August 10, 2023, 1:52pm UTC](https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944 "2023-08-10T13:52:27Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![R2D2](https://community.zammad.org/user_avatar/community.zammad.org/r2d2/32/11693_2.png) [@R2D2](https://community.zammad.org/u/R2D2)
#### Post date: [August 10, 2023, 1:52pm UTC](https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944/1 "2023-08-10T13:52:27Z")

</div>

Title: Trigger based content from objects should be translated

Usecase environment:

- average concurrent agent count? 2
- average tickets a day? 15
- what roles/people are involved? Agents and customers

What is the idea or pain point:

- Translation of trigger based content
- why is it not solvable with Zammad standard?  
Because trigger based content is not beeing translated

Expectation (not solution):

- Trigger based content should be translated into the sysem language.

> [@German translation of status](https://community.zammad.org/t/german-translation-of-status/11941):
>
> Used Zammad version: 6 Used Zammad installation type: package Operating system: Debian 11 Browser + version: Chrome 115 Expected behavior: Status should be localized in UI and email Actual behavior: Some status are note translated into German: [image] If I send an email by Trigger and use the variable #{ticket.state.name}, it’s in english than in german. Steps to reproduce the behavior: Open Ticket creation mask and open the dropdown “status” Send email with trigger and put the variable …

---

<div class="post-metadata">

### Author: ![dominikklein](https://community.zammad.org/user_avatar/community.zammad.org/dominikklein/32/8144_2.png) [@dominikklein](https://community.zammad.org/u/dominikklein)
#### Post date: [August 11, 2023, 7:25am UTC](https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944/2 "2023-08-11T07:25:46Z")

</div>

Related post: [Community feedback: translation of variables](https://community.zammad.org/t/community-feedback-translation-of-variables/11794)

---

<div class="post-metadata">

### Author: ![dominikklein](https://community.zammad.org/user_avatar/community.zammad.org/dominikklein/32/8144_2.png) [@dominikklein](https://community.zammad.org/u/dominikklein)
#### Post date: [August 11, 2023, 7:47am UTC](https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944/3 "2023-08-11T07:47:28Z")

</div>

@R2D2 maybe you are able to add some use cases about the problem. So that it’s easier to go forward.

---

<div class="post-metadata">

### Author: ![R2D2](https://community.zammad.org/user_avatar/community.zammad.org/r2d2/32/11693_2.png) [@R2D2](https://community.zammad.org/u/R2D2)
#### Post date: [August 11, 2023, 8:00am UTC](https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944/4 "2023-08-11T08:00:00Z")

</div>

The use case is that I will send the customer an email and that email contains the status of the ticket like this:

**Status:** #{ticket.state.name}

Now the German customer read “new” instead of “neu” or “open” instead of “offen”. The function that replaces that variable should be expanded to translate it before replacing.

---

<div class="post-metadata">

### Author: ![dominikklein](https://community.zammad.org/user_avatar/community.zammad.org/dominikklein/32/8144_2.png) [@dominikklein](https://community.zammad.org/u/dominikklein)
#### Post date: [August 11, 2023, 8:18am UTC](https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944/5 "2023-08-11T08:18:22Z")

</div>

In dem Use-Case wäre die System-Sprache Englisch?

---

<div class="post-metadata">

### Author: ![R2D2](https://community.zammad.org/user_avatar/community.zammad.org/r2d2/32/11693_2.png) [@R2D2](https://community.zammad.org/u/R2D2)
#### Post date: [August 11, 2023, 9:14am UTC](https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944/6 "2023-08-11T09:14:48Z")

</div>

Nein, bei mir ist die Systemsprache Deutsch, aber der Kunde bekommt den Status in Englisch, obwohl er im UI in Deutsch angezeigt wird.

---

<div class="post-metadata">

### Author: ![dominikklein](https://community.zammad.org/user_avatar/community.zammad.org/dominikklein/32/8144_2.png) [@dominikklein](https://community.zammad.org/u/dominikklein)
#### Post date: [August 11, 2023, 9:27am UTC](https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944/7 "2023-08-11T09:27:49Z")

</div>

I don’t mean the current user language, I mean the following setting: `zammad run rails r "pp Setting.get('locale_default')"`

---

<div class="post-metadata">

### Author: ![R2D2](https://community.zammad.org/user_avatar/community.zammad.org/r2d2/32/11693_2.png) [@R2D2](https://community.zammad.org/u/R2D2)
#### Post date: [August 11, 2023, 9:29am UTC](https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944/8 "2023-08-11T09:29:29Z")

</div>

> [@dominikklein](#):
>
> `zammad run rails r "pp Setting.get('locale_default')"`

The result is “de-de”.

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [August 11, 2023, 1:04pm UTC](https://community.zammad.org/t/trigger-based-content-from-objects-should-be-translated/11944/9 "2023-08-11T13:04:26Z")

</div>

Please use the english language. This is a english speaking board.
