Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have an issue with the email field where in the drupal translate interface the field title shows up and can be translated. But on the front end when the form loads the title shows up untranslated.
I've worked around this by adding:
$element['#title'] = t($element['#title']);
to html5_tools_field_widget_form() before the switch so that it applies to any return statements.
I found some details about translating the forms here: https://api.drupal.org/comment/50238#comment-50238
Comments
Comment #1
Nodz CreditAttribution: Nodz commentedComment #2
hass CreditAttribution: hass commented