Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 -'.
Comment | File | Size | Author |
---|---|---|---|
#3 | cshs-translated_term_labels-2792375-3.patch | 6.71 KB | BR0kEN |
#2 | cshs-term-references-not-translated-2792375-1.patch | 880 bytes | gngn |
Comments
Comment #2
gngn CreditAttribution: gngn at Computer Manufaktur GmbH commentedComment #3
BR0kENComment #5
BR0kEN