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.
In the registration form, the labels of added fields from the ces_user module appear always in English. The strings are however translated in the .po files.
Comments
Comment #1
esteve.badia CreditAttribution: esteve.badia commentedI'm fixing this issue by using the
t()
function when altering the register form and the user profile view.This is not the recommended way to do this but to rely on the
i18n_field
module. However I think it is not worth to depend on this quite big module just to translate the labels of statically defined fields.Thus I'm introducing introduce a pair of coder warnings due to calls to the
t()
function with a variable as the argument.Comment #2
esteve.badia CreditAttribution: esteve.badia commentedFixed, but remains to update the translations from transifex platform