When submitting a new content type containing a cck_taxonomy field, it's possible like for every field to include a description in the form widget.
However, in my site, all field descriptions in the submit form are translatable EXCEPT cck_toxonomy field. I use the Locale module for translations. When exporting a .po file, the widget description is not available (the submit form being viewed both in english & french to force .po file update). Is there any t('...') missing somewhere ?

Comments

chapo’s picture

I got It !!!

There is a missing t() in cck_taxonomy.module line 140 (function cck_taxonomy_widget()).

Replace

 empty($field['widget']['description']) ? $vocabulary->help : $field['widget']['description'],

with

 empty($field['widget']['description']) ? $vocabulary->help : t($field['widget']['description']),

The help field of the widget is then available through locale .po files.

Don't you think a patch should be added to address this issue ???
Hope this post will help desesperate translators trying to build up a multilingual site...

yonailo’s picture

+1 subscribing.