Multi-Language Support
Hugo Book supports Hugo’s multilingual mode with content translation by directory.
Configuration
Define languages in your site config
hugo.toml[languages]
[languages.en]
label = 'English'
contentDir = 'content.en'
weight = 1
[languages.zh]
label = 'Chinese'
contentDir = 'content.zh'
weight = 2
[languages.he]
label = 'Hebrew'
contentDir = 'content.he'
direction = 'rtl'
weight = 3A language selector dropdown appears automatically when multiple languages are configured.
RTL Support
Set direction = 'rtl' on a language to enable right-to-left layout. The entire page layout, including the sidebar menu, mirrors automatically.
Translation Dropdown
All configured languages appear in the selector. A language without a translation of the current page links to its home page.