Forum OpenACS Q&A: Response to How to use double index.adp?

Collapse
Posted by H. shefaat on
Thank you Jeff,
you are right I m not a TCL/TK programmer but I think it could be possible to set up these first things.
Anyway where I have to put the code?
set lang en ad_return_template "index_$lang"
This code in index ?
set lang [lindex [split [ns_set iget [ns_conn headers] accept-language] "-,;"]
And this code alo in index?
So as you can see I dont have a lot of experience with this index, so please tel me what is exactly to do.
Thanks