Translate strings within dropdown merge fields on signup forms

Created on 7 August 2020, over 4 years ago
Updated 2 April 2024, 8 months ago

Problem/Motivation

For dropdown type fields on the signup forms, it doesn't seem like there's a way to translate these in drupal. The drop down option strings are not registered as strings in admin/config/regional/translate.

For example, if I have a drop down merge field called "Test", with "Option 1", "Option 2" and "Option 3" as options, I will only be able to translate "Test", the options don't show up at all.

Steps to reproduce

1. Create any drop down merge field in your desired Mailchimp option and add a few distinct options
2. Connect mailchimp in admin/config/services/mailchimp/
3. Select desired audience
4. Attempt to translate drop down field options

Proposed resolution

Wrap the value around t() when building the form field values.

✨ Feature request
Status

Fixed

Version

2.0

Component

General

Created by

πŸ‡¨πŸ‡¦Canada rferguson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024