Taxonomy name and vocabulary name can be translated by i18n_taxonomy_term_name(),i18n_taxonomy_vocabulary_name(). However, there are no such methods for their descriptions.

I suggest to add similar methods for descriptions.

There is a need for such methods in the module tagclouds #1696498: Add i18n support for taxonomy terms.

CommentFileSizeAuthor
i18n_taxonomy_desc_0.patch1.39 KBscito

Comments

webflo’s picture

Status: Needs work » Needs review
jose reyero’s picture

Assigned: Unassigned » webflo
Status: Needs review » Reviewed & tested by the community

Well, just adding two api functions shouldn't break anything else so if you guys need it, np with this one.

jose reyero’s picture

Status: Reviewed & tested by the community » Fixed

Committed with minor changes (setting sanitize => FALSE for name and description).

jose reyero’s picture

Title: Provide taxonomy description translation » Provide taxonomy description translation, unfiltered name and description.

Updating title to mention the sanitize parameter.

Status: Fixed » Closed (fixed)

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