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:
- Create multylang website with internationalization
- Add to content type Entity Reference field with Autocomplete (Set Number of values to 1)
- Translate label and that's and that should be it
When node is created, labels are ok.
Comments
Comment #1
caktux commentedAlso having this problem, not sure if it's in entityreference or field_translation...
Comment #2
bojanz commentedThis is an i18n bug.
The patch at https://drupal.org/node/1904368#comment-7493892 should fix it.
Comment #3.0
(not verified) commentedadd values
Comment #4
mrharolda commentedI 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.