Using the cshs select-widget for a taxonomy term reference I did not get the translated terms.
Using core's "select list" does show the translations.

Comparing the code used to generate the select with the default core implementation in EntityReferenceSelection::getReferenceableEntities() I added a call to getTranslationFromContext() in CshsOptionsFromHelper::getOptions().

Patch applied.

You should also check 2774919 to get rid of the untranslated '- Please select -'.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gngn created an issue. See original summary.

gngn’s picture

BR0kEN’s picture

  • BR0kEN committed f2bdfae on 8.x-1.x
    Issue #2792375 by gngn, BR0kEN: Term references not translated
    
BR0kEN’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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