I've been adding new fields to user profile and would like to know to make them language dependent using i18n.module. I wonder if this can be done adding a variable to $i18n_variables array in the config file.

Many thanks in advance,

Comments

pietro’s picture

probably not. i think you hav to patch profie.module putting t()'s around the profile fields and etc.

antanins’s picture

Thank you, Pietro. I patched profile.module putting t()'s around every instance of $field->title, but now I wonder how to patch it in order to get category names localized as well.

--
Antonio Giménez

pietro’s picture

hi antanins,

i made a patch that seems to work fine. i haven't had any problem with it yet. it is at: http://drupal.org/node/34803