Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: frjo commentedCommitted to 5-dev and 6-dev, thanks for the reminder fpedraza :-).
Comment #2
fpedraza CreditAttribution: fpedraza commentedThank you!