Writing translatable static web pages

16 views
Skip to first unread message

sain...@gmail.com

unread,
Oct 7, 2013, 9:21:05 AM10/7/13
to django...@googlegroups.com
Hello,

I am a bit confused on the best way to handle this problem:

My web site needs read-only static web pages (typically the About part of a web site) with 2 simple constraints:
  - they need to be translated
  - they need to have flexible layout: to incorporate base headers/footers, floating images and/or tables, and non-interactive elements (like a bootstrap carousel).

Several solutions that I have thought about:
  - I can of course directly write HTML files but the translation part will be awkward (a lot of <h1>, <ul>, <li> and <p> which are of no interest to the translator).
  - I can use Django flatpages with some markup languages but I lose a lot of flexibility (for instance template tags are not recognized)
  - Use generators like Hyde, but it seems quite overkill for my needs.

Does someone have other propositions that I can look into ?
Is Textile the best markup language if I want tables and floating element and the ability to add custom Bootstrap class ?

Thanks !
Reply all
Reply to author
Forward
0 new messages