Member
Member
NicoD   2009-09-10, 22:44
#1

I have a bilingual website with Wordpress and a multilingual plugin:

http://www.mywebsite.com/ >ENGLISH
http://www.mywebsite.com/fr/ >FRENCH

I have activated multilingual functionality of Zenphoto. My installation of Zenphoto is in the "photos" directory. Is it possible to switch between the languages only with url like the following example ?

http://www.mywebsite.com/photos/ >ENGLISH
http://www.mywebsite.com/fr/photos/ >FRENCH

Thank you by advance for your advices

Member
Member
sbillard   2009-09-13, 01:03
#2

Please search this forum for discussions similar to this topic. There have been suggestions, but I have not seen confirmation that they have been successful.

Administrator
Administrator
acrylian   2009-09-15, 10:16
#3

We had just recently someone who did this.

Member
Member
NicoD   2009-09-15, 16:22
#4

Thanks for your answers, but I don't find the discussion about that...

Administrator
Administrator
acrylian   2009-09-15, 17:35
#5

http://www.zenphoto.org/support/topic.php?id=1481
Not exactly what you asked but well but you will have to do some work yourself in any case as Zenphoto.

Member
Member
NicoD   2009-09-17, 22:48
#6

Ok so the only way to do it is to have the lang as a parameter in the url and not like I would like to do it ?

What about the SEO with the original system of multilingual include in zenphoto ?

Member
Member
sbillard   2009-09-17, 23:46
#7

You never did explain why you need a separate URL for the language versions. Zenphoto will work quite well in the browser perfered language of your viewer so long as there is a translation for it. Just set your language to HTTP Accept language.

All your database fields can be defined in multiple languages--set the multilingual option.

That leaves only static text you want on your pages. You can test the current language and emit the appropriate version based of that, so that should take care of all your needs. If it does not you have no choice but to follow the path described by the thread acrylian has provided.

I do not understand you last question. What about the SEO with the original system of multilingual include in zenphoto ? Zenphoto does not need/use URI parameters to deal with the languages. They are either fixed by the admin, automatically selected based on the browser preferences, or manually selected by the user (using the dynamic locale plugin.)

Member
Member
bluemi   2010-05-09, 13:44
#8

I'm actually just searching for the same thing. Zenphoto's multilingual abilities are great but what if you are using a Zenphoto integration into an own design? You can't run the French gallery with your navigation from the English site... I guess this is what NicoD has asked...

Administrator
Administrator
acrylian   2010-05-09, 13:59
#9

[i]Zenphoto integration into an own design[/i]
Well, Znephoto is fully multilingual so even menu entries are. Of course we can't know how you use it with what.

Anyway, the coming 1.3 will have a plugin for switching languages via url.

Member
Member
bluemi   2010-05-09, 17:21
#10

Thanks, acrylian. I assume that's what I mean...hopefully. I'm not great with php/javascript but let's say I have built a template for my English version which follows the design of my website. So I have created the template's index.php, album.php. image.php, etc., naturally with the navigation of my English site, taking people to the other - non-gallery - pages on my website. Now I need to integrate the same gallery into my French language version, and this is where the trouble (for me) starts. I can't use the same index, album, image etc, files because they have the wrong (English) navigation. Set up a second template set? How? This is where I fail...and I don't really want to have two installations of Zenphoto.

Administrator
Administrator
acrylian   2010-05-09, 18:34
#11

If you use Zenphoto items only (albums, images, pages, news) correctly they would reflect the language setting if you filled in titles for each language.
If you use a hard coded menu that of course does not work you still could switch depending on the language set. But of course that will require some php knowledge as of Zenphoto and probably whatever you use for the other site.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.