![]() |
|
Zenphoto multilingual with url - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Zenphoto multilingual with url (/thread-5828.html) |
Zenphoto multilingual with url - NicoD - 2009-09-10 I have a bilingual website with Wordpress and a multilingual plugin: http://www.mywebsite.com/ >ENGLISH 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 Thank you by advance for your advices Zenphoto multilingual with url - sbillard - 2009-09-13 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. Zenphoto multilingual with url - acrylian - 2009-09-15 We had just recently someone who did this. Zenphoto multilingual with url - NicoD - 2009-09-15 Thanks for your answers, but I don't find the discussion about that... Zenphoto multilingual with url - acrylian - 2009-09-15 http://www.zenphoto.org/support/topic.php?id=1481 Zenphoto multilingual with url - NicoD - 2009-09-17 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 ? Zenphoto multilingual with url - sbillard - 2009-09-17 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 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. Zenphoto multilingual with url - bluemi - 2010-05-09 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... Zenphoto multilingual with url - acrylian - 2010-05-09 [i]Zenphoto integration into an own design[/i] Anyway, the coming 1.3 will have a plugin for switching languages via url. Zenphoto multilingual with url - bluemi - 2010-05-09 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. Zenphoto multilingual with url - acrylian - 2010-05-09 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. |