audreyfeldroy / complexity

A refreshingly simple static site generator, for those who like to work in HTML.
Other
118 stars 32 forks source link

Using complexity on multi-language site #41

Open xt0ph opened 10 years ago

xt0ph commented 10 years ago

Hello,

I've made some test and I think using 'complexity' for my website (thanks for this tool). Have you any suggestions for add a multi-languages functionality to my website with complexity. My idea is to write all pages in english and use a tool like gettex for create po files and translate them later. Is there already this such possibility in complexity, I don't see anything in doc about that.

Regards

friedcell commented 10 years ago

There is no explicit multi-language support, but you could use either context files for different content or nesting templates to separate structure from the content and have complexity build subfolders based on that.

chimeno commented 10 years ago

I've used nested templates and variables to create /en/ and /de/ pages.