Skip to content

The body of an option tag does not get translated in the latest release #6

Description

@robinbraibant

I have the following code :

<select name="merge_fields[MMERGE3]" id="country" class="form__select" required>
   <option value=''>{{ "Choose country"|t }}</option>
   {% for country in countries %}
       <option value="{{ country.value }}">{{ attribute(country, craft.app.locale.id) }}</option>
   {% endfor %}
</select>

The text "Choose country" does not end up in my translate fields in the Craft backend

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions