Member
Member
DrSlony   2008-05-18, 23:41
#1

I run a bilingual site, and I would like to have the gallery (album and image descriptions, comment buttons, paypal integration) in two different languages. Is something like this possible without installing zenphoto twice using two different mysql databases?

Member
Member
jackdaw   2008-05-19, 06:22
#2

I don't think so without two database installations. But with two installations you do can point to one and the same album folder. But this is just my guess, I didn't write the program...

But why don't you just add two titles / descriptions next to each other or beneath each other?
Title would be: Ein kleines Pferd / A small horse
and the descriptions can be seperated by a horizontal line...

Administrator
Administrator
acrylian   2008-05-19, 08:12
#3

Zenphoto does not support more than one language, so jackdaw's idea would be the way to go.

[i]But with two installations you do can point to one and the same album folder. But this is just my guess, I didn't write the program... [/i]
That would be an experiment. That has never been done, so if you want to try that...

Member
Member
jackdaw   2008-05-19, 08:54
#4

[i]That would be an experiment. That has never been done, so if you want to try that...[/i]

I just thought, change the 'external album location' in the zp-config file of one of those installations to point to the /album of the other installation. But perhaps that was too easy thinking...

Administrator
Administrator
acrylian   2008-05-19, 09:19
#5

I could imagine that it could work with two separate installs and two databases (even in one if prefixed), since zenphoto is filesystem based. But some volunteer would need to try that..:-)

But I don't know how convinient it would be to maintain two installs of the same content. I think I would follow your idea if I had to.

Member
Member
jackdaw   2008-05-19, 09:33
#6

Me too I always try to keep things in one place and not make things too complicated.
I should follow my own advice more often ....

Member
Member
DrSlony   2008-05-19, 14:51
#7

I might try the two databases as soon as i finalise the settings and theme im working on. Using two languages visible at the same time is not a visually nice solution.

Member
Member
flu   2008-05-19, 20:07
#8

Hi,
maybe there's another quick and dirty solution :
-use the empty field of your images description (for exemple "credit" if you don't you use it) to fill it with the title of your alternative language
-display it in your theme using css :

-create a style switcher
-create another css, using display:none for the language you don't want to display

Sorry, am I clear ?

Member
Member
sbillard   2008-05-19, 20:57
#9

There is actually a "custom" field that you could use for this.

Member
Member
flu   2008-05-19, 21:07
#10

Yes, of course, you can use it for the alternative language "description", "title" or whatever you want in the same way.

Member
Member
sbillard   2008-05-20, 06:41
#11

I have some thoughts about how we might enable multiple language support for zenphoto. However, before I complete the design I would like to know how you would determine which language to display. My thought is that there could be a way for the viewer to selecte the language he wishes.

Member
Member
jackdaw   2008-05-20, 08:52
#12

[i]My thought is that there could be a way for the viewer to selecte the language he wishes.[/i]

Is there another way :=) ? Ofcourse, it could be done from within the admin, but it's the choice of the viewer.

Would be a great addition!

Member
Member
sbillard   2008-05-20, 14:47
#13

Well, I doubt that doing it from Admin would be a good solution. You would have to give each viewer access to that. If there is an way to tell what language to use with out user input that would be nice. Otherwise there would have to be a selection form on the index page.

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