I would like to create a multilanguaged site with template toolkit.
lets say i have 2 pages for each lang (i have a lot more, but thats for
example)
index.html and about.html
in each page there is an if-else include, to load the different content
in the different languages.
lets say i want two languages in my site, i will have to create
index.it.html, about.it.html, index.en.tml, about.en.html and each time
i create one file i should change the value passed in the [% INCLUDE %]
and i should change the name to fit my structure.
i was wondering if there is a way to create these 4 pages from 2
templates (index.ttml and about.ttml) in a similar way with a command or
a script that works like this and working similarly to ttree but
accepting this option:
create_pages("src/", "en"); that gets index.ttml and about.ttml from
src/, includes the english content and generates index.en.html and
about.en.html
sorry for my bad english and exposition ;)
is there anyway to do this?
thank you in advance.
--
flevour <[EMAIL PROTECTED]>
francesco levorato
http://flevour.mine.nu/
GPG fingerprint:
BB5C 27D8 EFCE A530 7AD5 057A 219D B539 5F4B 644B
signature.asc
Description: This is a digitally signed message part
