Answers.Body: <p>I think the best way to do this, is by using <code>craft.entries.id().locale()</code> and checking if any entries are returned (not tested):</p>
  
  <pre><code>{% set thisEntryInDifferentLocales = craft.entries.id(thisEntry.id).locale('fr') %}
  {% if thisEntryInDifferentLocales | length %}
      {% for localeEntry in thisEntryInDifferentLocales %}
         &lt;a href="{{ localeEntry.url }}"&gt;This entry is also available in {{ localeEntry.locale }}&lt;/a&gt;
      {% endfor %}
  {% endif %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-01T09:23:42.610Z
Answers.Text: Thanks Paul - great response. Returned an array error in testing. Do you think we need to declare the locales in the first line or can it check for the locales available (live) for that entry?
Answers.UserDisplayName: Dan G
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-01T09:25:17.300Z
Answers.Text: Maybe locales can not be requested in an array, but only per locale. I'll edit my response, try again.
Answers.UserDisplayName: Paul
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-01T09:12:08.143Z
Answers.LastActivityDate: 2014-10-01T09:25:27.977Z
Answers.LastEditDate: 2014-10-01T09:25:27.977Z
Answers.UserDisplayName: Paul
Body: <p>We need to part translate a site, and by which i mean only certain sections are available in other locales, and only certain Entries in those pages. In order to display these in the front end we simply want to show :</p>
  
  <p>"This entry is also available in French" </p>
  
  <p>at the base of the entry, and link to a special layout (no nav).</p>
  
  <p>Has anyone achieved this - can the locales be called for each entry ?</p>
  
  <p>Thanks
  Dan</p>
  
Tags: <localization><language>
Title: Show entry content for other available locales
ThreadText: # Show entry content for other available locales
  
  (Asked by: username_0 on 2014-10-01)
  
  We need to part translate a site, and by which i mean only certain sections are available in other locales, and only certain Entries in those pages. In order to display these in the front end we simply want to show :
  
  "This entry is also available in French"
  
  at the base of the entry, and link to a special layout (no nav).
  
  Has anyone achieved this - can the locales be called for each entry ?
  
  Thanks
  Dan
  
  **Tags:** localization, language
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-10-01. Score: 1 | Accepted answer
  
  I think the best way to do this, is by using `craft.entries.id().locale()` and checking if any entries are returned (not tested):
  
  ```
  {% set thisEntryInDifferentLocales = craft.entries.id(thisEntry.id).locale('fr') %}
  {% if thisEntryInDifferentLocales | length %}
      {% for localeEntry in thisEntryInDifferentLocales %}
         <a href="{{ localeEntry.url }}">This entry is also available in {{ localeEntry.locale }}</a>
      {% endfor %}
  {% endif %}
  
  ```
  
  > **Comments:**
  > **username_0**: Thanks username_1 - great response. Returned an array error in testing. Do you think we need to declare the locales in the first line or can it check for the locales available (live) for that entry?  
  > **username_1**: Maybe locales can not be requested in an array, but only per locale. I'll edit my response, try again.  
  
  ---
  
  