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.
The field label for emfields is currently set to t('@label', array('@label' => $field['widget']['label']))
, which filters the text through check_plain(), but makes it impossible to translate it because the string consists only of a placeholder. The alternative is to pass the label text through check_plain() and then through t(), so that it can be translated like other cck fields.
Comment | File | Size | Author |
---|---|---|---|
emfield_translate_label.patch | 622 bytes | floretan |