I read this http://webpy.org/cookbook/runtime-language-switch. and I was 
able to implement it. Now I have a lot of html I have to edit, I want one 
function
to serve all html files but I am not sure how to do it.


I want something like 

urls = { '/faq',           static_page,
           /'aboutus,    static_page,
           '/contactus, static_page,
          }

where 

def static_page just figures out which language to use and renders the 
page. 
Any guidance would be helpful


-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/CcrVbpct3O8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to