Search…

X3 Photo Gallery Support Forums

Search…
 
lipapa
Topic Author
Posts: 15
Joined: 08 Oct 2008, 04:47

Usign multiple language and own index.html

26 Feb 2013, 12:33

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;
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Usign multiple language and own index.html

26 Feb 2013, 12:52

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.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Usign multiple language and own index.html

27 Feb 2013, 07:42

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
firedev.com