Answers.Body: <p><a href="https://github.com/craftcms/cms/issues/5087" rel="nofollow noreferrer">Resolved here</a>.
  Does not appear on the doc, although.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-02T07:04:45.337Z
Answers.LastActivityDate: 2019-12-02T07:04:45.337Z
Answers.UserDisplayName: scandella
Body: <p>I need to display booth local and localized entries in the same page.
  So I fetch the different localized entries like this :</p>
  
  <pre><code>{% set localeEntry = craft.entries.id(myEntry.id).site('default').one() %} {# get the locale data #}
  {% set enEntry = craft.entries.id(myEntry.id).site('en').one() %} {# get the english data #}
  </code></pre>
  
  <p>This works perfectly when the page is displaying in the browser, but the variables return empty when the page is displaying in the Craft CP's Live Preview panel.</p>
  
Tags: <live-preview>
Title: Fetch locale entries does not work in Live Preview
ThreadText: # Fetch locale entries does not work in Live Preview
  
  (Asked by: username_0 on 2019-11-24)
  
  I need to display booth local and localized entries in the same page.
  So I fetch the different localized entries like this :
  
  ```
  {% set localeEntry = craft.entries.id(myEntry.id).site('default').one() %} {# get the locale data #}
  {% set enEntry = craft.entries.id(myEntry.id).site('en').one() %} {# get the english data #}
  
  ```
  
  This works perfectly when the page is displaying in the browser, but the variables return empty when the page is displaying in the Craft CP's Live Preview panel.
  
  **Tags:** live-preview
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-12-02. Score: 1 | Accepted answer
  
  [Resolved here](https://github.com/craftcms/cms/issues/5087).
  Does not appear on the doc, although.
  
  
  ---
  
  