damianjames Posted September 4, 2010 Share Posted September 4, 2010 Hi all - I am building a site that needs to support multi-language with an iframe for content. The design has the language selector at the top outside of the iframe, and a music player at the bottom outside the iframe. The language files reside in includes that are accessed by checking $_COOKIE and/or $_GET switch statements. What I'm trying to figure out is if someone has chosen a language, navigated to a different content page than what loads by default in the iframe, then switches the language again, how can I reload the the index and the chosen content page in the new language? I'd hate to have them need to re-navigate to where they were in they switch languages. Maybe edge case and I'm worried over 1% of people who would select another language after clicking into a page, but it does need to be kind of newbie/oldie-proof. I'm also conflicted on where to post this - I'm working the language switch out in php, wondering about an html target and page reload, and guessing that maybe this might be accomplished with ajax. Apologies if I'm posting in the incorrect spot. Attached screenshot gives a better idea of my conundrum (I hope!) [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.