I have activated multilingual functionality of Zenphoto. My installation of Zenphoto is in the "photos" directory.
Example:
http://www.mywebsite.com/photos/ >ENGLISH
http://www.mywebsite.com/photos/fr/ >FRENCH
I am trying to rewrite my urls in the htaccess to redirect "/fr" to "/photo" (the base of zenphoto installation) and "/fr/my-album/" to "/photo/my-album/".
It works fine for the first one but not the second to redirect the album, can you help me ?
`
####
RewriteBase /photos
####
`
`
### Language
RewriteRule ^fr/?$ index.php [L]
RewriteRule ^fr/(.*)/?$ index.php?album=$1 [L]
`
Thanks by advance for your help.
Comments
You will have to do some programming. Please search the forum for a just recent workaround to do this.
`http://www.mywebsite.com/photos/ >ENGLISH`
This is the link to the album "photos"
`http://www.mywebsite.com/photos/fr/ >FRENCH`
This would be the link to the subalbum "fr" of the album "photos". If you try to work on this you will probably get confusing results.
If you want to determine the language by url you need to do some more work. See here for a start:
http://www.zenphoto.org/support/topic.php?id=1481