![]() |
|
Language chanche manual - 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: Language chanche manual (/thread-5601.html) |
Language chanche manual - pepu - 2009-08-04 hello I want that if someone go to the english version he should watch all my content in english but i dont know how to do to show english version of the gallery because alwais show to me the principal language (spanish) I have multilanguage, so in the admin panel i can writte in two languages. Language chanche manual - acrylian - 2009-08-04 On the backend there is a selector for the language. Set that to "Http accept language". Then each visitor will get automatically the language that is set in his browser as the preferred language. Note this might lead to confused visitors if they did not set up their browsers correctly (for example it is set to English but the user actually wants Spanish). Therefore you should additionally provide the language selector. Language chanche manual - pepu - 2009-08-04 yes thanks. I know that. I dont want that the prefered language of the browser manage and i don't want a selector in the gallery. I want that the people select the language before. Is it possible? button "hola" go to ... zenphoto/index.php?lan=es_ES Language chanche manual - acrylian - 2009-08-04 No, Zenphoto sets the language via sessions/cookies. You will have to look at the dynamic locale plugin to see how the form looks for language selection and modify it to your needs. You will have some other work to do if you want to use it on a page outside Zenphoto. Language chanche manual - pepu - 2009-08-04 perhaps other solution could be to make two instalation and the two instalations with the same album folder ? Language chanche manual - sbillard - 2009-08-04 You can do that. There is a line in the zp-config.php file that lets you specialy set the folder where albums are located. Be aware, though, that if this folder does not exist on a path that a WEB browser can access, some things (like java flash scripts) will not be able to access the images. |