Page 1 of 1

Usign multiple language and own index.html

Posted: 26 Feb 2013, 12:33
by lipapa
Hi there,

I want to use multiple language with imagevue but I also use a personnal index.html on the root of my website.
Actually, it's not possible to use the other language with this other file...

Do u have any idea how can I fix it ?

thanks;

Re: Usign multiple language and own index.html

Posted: 26 Feb 2013, 12:52
by mjau-mjau
You cannot use multiple languages with a single HTML file, simply because it will not accept parameters int he URL and send it to the Flash. To do this, you would need to create separate HTML files, for example:

english.html
spanish.html

Inside the html, you would hardcode the language as a parameter. However, how are you going to link between them? By using links in the main menu? Also, did you consider the mobile version? This will not work properly with your customer HTML file ... Why have you created a Html file? Perhaps you should reconsider using a Html file in the first place. It just gets complicated and dysfunctional with the the features.

Re: Usign multiple language and own index.html

Posted: 27 Feb 2013, 07:42
by Nick
If you have index.html as a splash page, you can simply put imagevue in a folder and link to it with a ?language= parameter.

If you want your gallery embedded in a custom HTML page and retain the mobile version working you can either:

* Embed the gallery from a subfolder into an <iframe> and add the js redirect code from README/mobile-detect.html (view source)

or

* Edit iv-includes/templates/default/gallery.index.phtml to your liking. Mobile users will see the template from iv-includes/templates/mobile