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
Comment #1
frjo commentedCommitted to 5-dev and 6-dev, thanks for the reminder fpedraza :-).
Comment #2
fpedraza commentedThank you!