Unfortunately, the translation of field CATEGORY names doesn't seem to be working.

In my profiles, all fields are grouped into 2 categories (Personal Info & Admin). After defining the fields, and the categories, I go into 'Translate Interface', update everything, translate everything, and save. Now, when I look at the profile pages in my other languages, I can see that my field names, descriptions, etc., have all been translated properly. The 2 field category names, however, remain in ENGLISH, regardless of the language selected, and regardless of the fact that the translations have been successfully saved.

If I return to the 'Translate Interface', refresh everything, reload everything, and search for the strings, I can see that they are there, and that the translations are there, too. They *should* be working. But it seems that the translations of the field category names are just being ignored by Drupal.

I have now setup a 2nd site, and ascertained that this is reproducible every time.

Comments

jose reyero’s picture

Status: Active » Closed (duplicate)
Mr P’s picture

Version: 6.x-1.0-beta3 » 6.x-1.x-dev
Component: Module i18nprofile » Code
Status: Closed (duplicate) » Active

Problem still there.

Here's a list of links relating to this problem:

User Profile - patch to add fields translations - http://drupal.org/node/376182 (check my notes at bottom - think next link explains what's happening)

User category (submenu in the user profile) is not translatable - http://drupal.org/node/367323

Profile module translation and selection type "addon" - http://drupal.org/node/400396

Help with this problem appreciated!

pasqualle’s picture

As I see these issues have no relation with user category translation. And all solutions are wrong..
this should not be used:

t($variable)
jose reyero’s picture

Status: Active » Closed (fixed)

The original i18n issue was fixed.

@Mr P,
This has no relationship with other modules like User Profile.

And as Pasqualle says, all patches proposed in that issues are not ok, see explanation here http://drupal.org/node/400396#comment-1886836

marthinal’s picture

Component: Code » Blocks

Using 6.x-1.9

I have some profile categories created with content profile module.And i have enabled i18nprofile. the problem i18nprofile_translate_category () doesnt translate correctly.

In i18nstrings_get_string() $context->source has the title(category) correctly but return nothing the query:

$text = db_fetch_object(
db_query("SELECT s.lid, t.translation FROM {locales_source} s INNER JOIN {locales_target} t ON s.lid = t.lid WHERE ". implode(' AND ', $where), $args));

Maybe when building locale_source locale_target theres a problem...

does anyone know something about this issue?

marthinal’s picture

About my reply hope it helps you. http://drupal.org/node/773298#comment-5090942