In multilingual sites, it is often necessary to translate vocabulary names in sitemap. Translations for vocabulary names can be entered in backend, but sitemap does not use them.

It's very easy to make sitemap honor translations, so I propose this little change that implements the functionality:

site_map.module, line 461:
$title = $name ? check_plain($name) : ''; --> $title = $name ? check_plain(t($name)) : '';

I believe there are not side effects.

Comments

frjo’s picture

Assigned: Unassigned » frjo
Status: Active » Fixed

Committed to 5-dev and 6-dev, thanks for the reminder fpedraza :-).

fpedraza’s picture

Thank you!

Status: Fixed » Closed (fixed)

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