A multilanguage website can only show books in one language, but works correctly for terms and menus. Probably this is due to the UI not allowing to choose from all the books on the site.

Comments

m13’s picture

same here

ibex’s picture

I've also to show my books for different languages. I'm using the i18n module. I've discovered that books in sitemap are stored in a normal variable. The i18n module can convert variables in multilingual variables. I've added 'site_map_show_books' to $conf['i18n_variables'] = array() in settings.php. It works for me.

For an explanation see Multilingual Variables.

I don't know if the state of this issue should be changed.

frjo’s picture

Status: Active » Needs work

The metod described by ibex is, I believe, how you should do it. I'm not using i18n module myself but with patches from contributors I have added support for it in the Site map module.

To get all variables translated via the i18n module you need, as ibex says, add them to $conf['i18n_variables'] in the settings.php file.

I recommend you add "site_map_message" also if you are using it to display a message at the top of the site map.

This should be added to the documentation/README. Someone who is using the i18n module and feel like writing this up?