I have a multi-langual site. I want to allow the user to read either in English or Russian.
Therefore, the best solutions that would work for me is:
1- to have completely two sets of templates that user can easily switch between by clicking on "ENGLISH" or "RUSSIAN" links at the top of all pages, so how do I specify that knowing that all pages need to be switched to the selected langauge??
2- set a flag in DB or somewhere when someone clicks on "ENGLISH" or "RUSSIAN" link and then I can use the same set of templates but with condition to display content:
if language_flag=1
show english content
else
show russian content
endif
and I will put this in every template where I need translation...
which solution is better, can you please advise and tell me how to set the flag or how to use different set of templates???
thank you in advance
Mark
Therefore, the best solutions that would work for me is:
1- to have completely two sets of templates that user can easily switch between by clicking on "ENGLISH" or "RUSSIAN" links at the top of all pages, so how do I specify that knowing that all pages need to be switched to the selected langauge??
2- set a flag in DB or somewhere when someone clicks on "ENGLISH" or "RUSSIAN" link and then I can use the same set of templates but with condition to display content:
if language_flag=1
show english content
else
show russian content
endif
and I will put this in every template where I need translation...
which solution is better, can you please advise and tell me how to set the flag or how to use different set of templates???
thank you in advance
Mark