Hi! I just have translated your module to hungarian (on the approval phase).

I just found a tons of strings can not be traslateable: the content names, view descriptions, etc.

for example, in the install file:

$this_form['values']['macro'] = "\$content[type]  = array (
    'name' => 'CCK Gallery',
    'type' => 'cck_gallery',
    'description' => 'A gallery created by a user and containing uploaded CCK Images.',
    'title_label' => 'Title',
    'body_label' => 'Description',

I thought about the name, description, title_label, body_label maybe.

I am new guy in the drupal, I am not know the API yet, so I can not able to send a patch, sorry.

Comments

greg.harvey’s picture

Assigned: Unassigned » greg.harvey
Category: feature » bug

Apologies. Will fix. Setting to bug report, because IMHO strings that cannot be translated are a bug. The background (for your understanding) is the t() function is not available normally to .install files. There is a workaround to include it, but I got lazy. =P

Are there any strings other than those in the .install file?

Also, since you have experience of translating the UI and I actually do not, could you post your strings and tell me how I can include them with this module?

Thanks for working on it! =)

greg.harvey’s picture

Status: Active » Fixed

Fixed. Pulled these things out to variables and run them through the st() function. Committed to CVS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.