This patch enables translation of profile field labels and category labels via the locale module.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yojoe’s picture

Category: task » feature
drumm’s picture

Version: 5.1 » 6.x-dev
Status: Needs review » Needs work

Features such as this will not go into the stable Drupal 5.x.

Please make the diff using the '-uF^f' options.

bdragon’s picture

Status: Needs work » Needs review
FileSize
3.85 KB

Patch grovelled.
Brought to you by patch bingo.

bjacob’s picture

There is another change in order to provide the translation of the field "Explanation":

Search for the code

function _profile_form_explanation($field) {
  $output = $field->explanation;

and change it to

function _profile_form_explanation($field) {
  $output = t($field->explanation);
birdmanx35’s picture

Title: make labels of profile_fields and categories translateable » make labels of profile_fields and categories translatable
Version: 6.x-dev » 7.x-dev

Title change, feature request -> 7.x-dev.

Robin Monks’s picture

Category: feature » task
Status: Needs review » Needs work

Re-roll required. Also, this sounds like a task to me.

Robin

renancmd’s picture

Version: 7.x-dev » 6.9
Assigned: Unassigned » renancmd
FreeFox’s picture

Version: 6.9 » 6.15

Still the same problem in 6.15 :(

FreeFox’s picture

Assigned: renancmd » FreeFox
Status: Needs work » Needs review
FileSize
4.53 KB

I have created a patch that will add t() in 11 lines. I tested the patch and installed it on my server. Tested translation and ... it worded.

Patch against the 6.15 dev version of the profile.module as of 2010-01-25 01:52

Please consider to add this patch to the dev version

Thanks in advance

FreeFox’s picture

Assigned: FreeFox » Unassigned

Status: Needs review » Needs work

The last submitted patch, profile-134213-9.patch, failed testing.

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.