# Mutilingual subject in yaml

**URL:** <https://community.auth0.com/t/mutilingual-subject-in-yaml/105564>\
**Category:** Get Help\
**Tags:** platform-infrastructure, tenant-flags\
**Created:** [April 26, 2023, 1:49pm UTC](https://community.auth0.com/t/mutilingual-subject-in-yaml/105564 "2023-04-26T13:49:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastian3](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sebastian3/32/46707_2.png) [@sebastian3](https://community.auth0.com/u/sebastian3)\
**Post date:** [April 26, 2023, 1:49pm UTC](https://community.auth0.com/t/mutilingual-subject-in-yaml/105564/1 "2023-04-26T13:49:11Z")

</div>

Hey there,  
We’re using [the `yaml` configuration to deploy our tenant](https://github.com/auth0/auth0-deploy-cli/blob/master/examples/yaml/tenant.yaml) and I was wondering if there’s any way to adjust the subject of the email templates based on `user_metadata`. thanks!

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [April 26, 2023, 11:27pm UTC](https://community.auth0.com/t/mutilingual-subject-in-yaml/105564/3 "2023-04-26T23:27:39Z")

</div>

Hi @sebastian3,

Welcome to the Auth0 Community!

> [@sebastian3](#):
>
> I was wondering if there’s any way to adjust the subject of the email templates based on `user_metadata`.

Could you please explain what you would like to do in more detail?

And could you please clarify what have you tried?

I look forward to your reply.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![sebastian3](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sebastian3/32/46707_2.png) [@sebastian3](https://community.auth0.com/u/sebastian3)\
**Post date:** [April 27, 2023, 8:16am UTC](https://community.auth0.com/t/mutilingual-subject-in-yaml/105564/4 "2023-04-27T08:16:56Z")

</div>

Hey @rueben.tiow ,  
Thanks for replying. I saw that there is an option to adjust the subject line for multiple languages when configuring templates from the UI, using the Liquid syntax.  
Considering that the subject of our emails is set via the `yaml` file, is there any equivalent option available to adjust the subject of the email based on the user’s language?

---

<div class="post-metadata">

**Author:** ![sebastian3](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sebastian3/32/46707_2.png) [@sebastian3](https://community.auth0.com/u/sebastian3)\
**Post date:** [May 19, 2023, 8:18am UTC](https://community.auth0.com/t/mutilingual-subject-in-yaml/105564/5 "2023-05-19T08:18:48Z")

</div>

@rueben.tiow Any updates on this?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 22, 2023, 5:46pm UTC](https://community.auth0.com/t/mutilingual-subject-in-yaml/105564/6 "2023-05-22T17:46:45Z")

</div>

Hi @sebastian3,

Thank you for your responses.

After my research, I found that it is currently not possible to adjust the subject field for multiple languages using Liquid syntax. The subject field is limited to only accessing these common variables listed [here](https://auth0.com/docs/customize/email/email-templates#common-variables). Because of this, it will not be possible to adjust the subject field for multiple-language support in your `yaml` file.

For now, only the message body can be modified with conditional statements to enforce multiple-language support.

In this case, I recommend upvoting the related feedback request below that asks to support localization features for email templates. Doing so will help our Engineers prioritize these features periodically based on the highest votes.

> [@Proper localization features for email templates and actions](https://community.auth0.com/t/proper-localization-features-for-email-templates-and-actions/81125):
>
> Feature: Provide a short title of your feature request/feedback. Proper localization features for email templates and actions. Description: Give us some details about your feedback/feature request. Examples, screenshots, videos, etc. are helpful. For email templates, you currently have to use very awkward if/else or case/when structures in order to provide localized alternatives. The subject line is even more difficult to work with. Within actions, you have to include/repeat all translations…

I hope this helps!

Please let me know if you have any further questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 5, 2023, 5:46pm UTC](https://community.auth0.com/t/mutilingual-subject-in-yaml/105564/7 "2023-06-05T17:46:55Z")

</div>

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