Im using i18n (internationalization) with language negotiation through URL. Default lang is eng (site.com) and then langs like czech (site.cz).

On node creation page (site.cz/node/add/article) is still used label in default language even if label of Entity Reference field is translated.

- I have 3 Entity Reference fields with Autocomplete.
- 2 of them (wrong ones) have set up Number of values to 1. (Labels are not displayed translated)
- 3th one with Number of values set up to multiple is translating (Label is Ok).

How to reproduce error:

  1. Create multylang website with internationalization
  2. Add to content type Entity Reference field with Autocomplete (Set Number of values to 1)
  3. Translate label and that's and that should be it

When node is created, labels are ok.

Comments

caktux’s picture

Also having this problem, not sure if it's in entityreference or field_translation...

bojanz’s picture

Category: bug » support
Status: Active » Fixed

This is an i18n bug.
The patch at https://drupal.org/node/1904368#comment-7493892 should fix it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

add values

mrharolda’s picture

Issue summary: View changes
Status: Closed (fixed) » Active

I ran into this issue after upgrading(!) i18n_field to Localize Fields. All field labels and help texts of all widgets are translated correctly, except for the Entity Reference widgets.

The patch referenced above is for i18n_field specific, so it won't help us.