Answers.Body: <p>You can just manually fetch the entry in the other locale.  Assuming you already have the first <code>entry</code>, something like:</p>
  
  <pre><code>{% set localeEntry = craft.entries.id(entry.id).locale(languageID1).first() %}
  
  {% if localeEntry %}
      {{ localEntry.otherWordDefinition }}
  {% endif %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-26T09:46:44.437Z
Answers.Text: Brad this worked great. Thanks for your help.
Answers.UserDisplayName: Justin K
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-26T02:11:51.340Z
Answers.LastActivityDate: 2016-04-26T02:11:51.340Z
Answers.UserDisplayName: Brad Bell
Body: <p>Is it possible to retrieve a field value from an alternate locale? I'm working on a multi-language dictionary website and it would be helpful to display values for an entry in more than one locale (language), while the main content stays in the current locale. Right now I have something setup like this:</p>
  
  <pre><code>{% for word in dictionaryWords %}
      {# returns definition for the word in the current locale #}
      &lt;p&gt;{{word.definition}}&lt;/p&gt;  
  {% endfor %}
  </code></pre>
  
  <p>I'd like to add a secondary definition in another language from a different locale. Something like this, but I'm not sure how to get at the field data from a different locale.</p>
  
  <pre><code>{% for word in dictionaryWords %}
  
    {# returns definition for the word in the current locale #}
    &lt;p&gt;{{word.definition}}&lt;/p&gt;
  
    {# returns definition for the word in a secondary locale #}
    {% if currentLanguageID == "languageID1" %}
      &lt;p&gt;{{ word definition in language 2 }}&lt;/p&gt;        
    {% elseif currentLanguageID == "languageID2" %}
      &lt;p&gt;{{ word definition in language 1 }}&lt;/p&gt;
    {% endif %}
  
  {% endfor %}
  </code></pre>
  
Tags: <entries><localization>
Title: Retrieve entry field value from a different locale?
ThreadText: # Retrieve entry field value from a different locale?
  
  (Asked by: username_0 on 2016-04-25)
  
  Is it possible to retrieve a field value from an alternate locale? I'm working on a multi-language dictionary website and it would be helpful to display values for an entry in more than one locale (language), while the main content stays in the current locale. Right now I have something setup like this:
  
  ```
  {% for word in dictionaryWords %}
      {# returns definition for the word in the current locale #}
      <p>{{word.definition}}</p>  
  {% endfor %}
  
  ```
  
  I'd like to add a secondary definition in another language from a different locale. Something like this, but I'm not sure how to get at the field data from a different locale.
  
  ```
  {% for word in dictionaryWords %}
  
    {# returns definition for the word in the current locale #}
    <p>{{word.definition}}</p>
  
    {# returns definition for the word in a secondary locale #}
    {% if currentLanguageID == "languageID1" %}
      <p>{{ word definition in language 2 }}</p>        
    {% elseif currentLanguageID == "languageID2" %}
      <p>{{ word definition in language 1 }}</p>
    {% endif %}
  
  {% endfor %}
  
  ```
  
  **Tags:** entries, localization
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-04-26. Score: 5 | Accepted answer
  
  You can just manually fetch the entry in the other locale. Assuming you already have the first `entry`, something like:
  
  ```
  {% set localeEntry = craft.entries.id(entry.id).locale(languageID1).first() %}
  
  {% if localeEntry %}
      {{ localEntry.otherWordDefinition }}
  {% endif %}
  
  ```
  
  > **Comments:**
  > **username_0**: username_1 this worked great. Thanks for your help.  
  
  ---
  
  