Template i18n

I’m migrating a multilingual site from Pelican to Zola. I want to translate the templates using PO files or Fluent. Is there anyone who has done that whose code I can copy? If not, any recommendation on where to start? I haven’t used Rust in the past. In Pelican I have a POT file with 84 strings and adding variables to the configuration file is not optimal.

There is a plan to add Fluent to Zola but it has stalled right now: [i18n] Please use Fluent for localization · Issue #1058 · getzola/zola · GitHub

The current config approach is just a stop-gap until we get Fluent.

1 Like