Advice on multi-language index

I am looking to localize the contents of index.html (the root page when visitors arrive at my hugo site)

With Jumbo’s, and other Bootstrap fancyness, it quickly becomes messy using [params]

langauges.en.params.jumbo1_CTA
langauges.en.params.listing_CTA
langauges.en.params.box1_header
langauges.en.params.box1_text

you get the gist :slight_smile:

is there a more obvious / CLEAN and scalable solution to this

  • would it be better to use a bunch of partials (and do they take parameters)

Sorry if there is an obvious solutions to this, and I have been too daft to find it through searches :monkey_face:

Hi,

Have you tried Hugo’s translation of strings feature: Multilingual mode | Hugo

I’m not sure what you mean by

but you pass the “context” to partials when you call them. This is usually the page context, but you can also pass dicts to partials. Ref: Partial templates | Hugo