Thank you, Acrylian.
The problem is that my website is built in such a way that dynamic-locale plugin does not fit (introduction pages, navigation for the whole site on the left....).
I will apply this plug-in in another website I am working on
My question is where to put my code so that the function "Submit" links to the right page layout.
Thanks again sbillard !
Unfortuantely I cannot find the [b]lib-i18n.php [/b]script. I guess it should be in zp-core (?!).
What I cannot understand/find out is how after submitting a comment the link to the just used page is established. Could you explain me shortly how it works, which functions are involved in this process?
Comments are very important for my website since I ask for identification help of some very rare plants and animals.
Yes, now I found it!
But before I try to understand the "locale" system, I would like to answer the second part of your message.
As I explained above I am using (for several reasons) the following coding on my website.
``if ( $L=="FR") {
echo "&L=FR";
}
elseif ($L=="EN"){
echo "&L=EN";
}
elseif ($L=="DE"){
echo "&L=DE";
}
elseif ($L=="ES"){
echo "&L=ES";
}
else {
echo "&L=FR"; `
It works perfectly for the different pages (album and not album) but not when a user writes a comment on a page like http://www.xxx.net/album/index.php?album=xxx&image=xxx.jpg&L=FR.
After the comment has been submitted, the user comes on a page http://www.xxx.net/album/index.php?album=xxx&image=xxx.jpg, that is to say without the L=FR extension and with a lot of errrors.
How to arrange it that the extension is created after the submission of the message? I simply don't find the place in the zenphoto code where I could add my php coding for languages.
I would be very thankful if you could help me on this issue.