<p>Yes, that's how you would do it.</p>

<pre><code>{{ craft.globals.getSetByHandle('localeModal').locale('es').getFieldValue('headline') }}
</code></pre>

<p>Or in shorter syntax:</p>

<pre><code>{{ localeModal.locale('es').headline }}
</code></pre>

CC BY-SA 4.0
2019-03-21T15:44:00.307Z
Do you know how to make it works with Craft 3?
Romain P.
CC BY-SA 3.0
2015-02-19T16:33:29.620Z
2015-02-19T16:33:29.620Z
carlcs
<p>Not much to add to the question, other than I need to display a global's value in a different locale to the current locale.</p>

<p>Is this the best way of doing it?</p>

<pre><code>craft.globals.getSetByHandle('localeModal').locale('es').getFieldValue('headline')
</code></pre>

<localization><globals>
How can I retrieve a global value in a different locale?
# How can I retrieve a global value in a different locale?

(Asked by: username_0 on 2015-02-19)

Not much to add to the question, other than I need to display a global's value in a different locale to the current locale.
Is this the best way of doing it?
craft.globals.getSetByHandle('localeModal').locale('es').getFieldValue('headline')

**Tags:** localization, globals


---

## 1 answers

### Answer by username_1 on 2015-02-19. Score: 3 | Accepted answer

Yes, that's how you would do it.
{{ craft.globals.getSetByHandle('localeModal').locale('es').getFieldValue('headline') }}

Or in shorter syntax:
{{ localeModal.locale('es').headline }}

> **Comments:**
> **username_2**: Do you know how to make it works with Craft 3?  

---

