# Is liquid syntax supported in email subjects

**URL:** <https://community.auth0.com/t/is-liquid-syntax-supported-in-email-subjects/62562>\
**Category:** Get Help\
**Tags:** liquid-syntax, email-template\
**Created:** [May 11, 2021, 6:56am UTC](https://community.auth0.com/t/is-liquid-syntax-supported-in-email-subjects/62562 "2021-05-11T06:56:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiran.ms](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kiran.ms/32/28442_2.png) [@kiran.ms](https://community.auth0.com/u/kiran.ms)\
**Post date:** [May 11, 2021, 6:56am UTC](https://community.auth0.com/t/is-liquid-syntax-supported-in-email-subjects/62562/1 "2021-05-11T06:56:36Z")

</div>

Hi,

We would like to support mutli-language emails where the email subject will also change for different languages.  
We can use the liquid syntax in the email template body.  
But can we use it in email subject?  
For example - for English users email subject will be “ **Hi** ”, but for Spanish the email subject should be “ **Hola** ” and for Chinese it should be “ **你好** ”

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 11, 2021, 12:23pm UTC](https://community.auth0.com/t/is-liquid-syntax-supported-in-email-subjects/62562/3 "2021-05-11T12:23:35Z")

</div>

Hey there!

Here’s a list of possible customisations with email templates using liquid syntax:

> **[Customize Email Templates](https://auth0.com/docs/customize/email/email-templates)**
>
> Learn how to customize your emails with Liquid templating syntax.

---

<div class="post-metadata">

**Author:** ![kiran.ms](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kiran.ms/32/28442_2.png) [@kiran.ms](https://community.auth0.com/u/kiran.ms)\
**Post date:** [May 11, 2021, 12:46pm UTC](https://community.auth0.com/t/is-liquid-syntax-supported-in-email-subjects/62562/4 "2021-05-11T12:46:05Z")

</div>

It mentions that we can use variables.  
But can we use if condition so that we can change the language of the subject?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 11, 2021, 12:48pm UTC](https://community.auth0.com/t/is-liquid-syntax-supported-in-email-subjects/62562/5 "2021-05-11T12:48:00Z")

</div>

Yes you can it’s also mentioned there:

> **[Use Liquid Syntax in Email Templates](https://auth0.com/docs/customize/email/email-templates/use-liquid-syntax-in-email-templates)**
>
> Describes how to use Liquid syntax in your email templates.

---

<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:** [May 26, 2021, 12:49pm UTC](https://community.auth0.com/t/is-liquid-syntax-supported-in-email-subjects/62562/6 "2021-05-26T12:49:02Z")

</div>

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