Member
Member
Molina   22-10-2008, 13:38
#1

Hi,

thanks for zenphoto, it's great!
Now I'd like to give the zenpage-plugin a try too. I installed it and it works fine besides the fact, that since activating the plugin all my texts in my public gallery like "Search", "Add Comment" and so on, called by [i]zenphotos[/i] gettext('...') are in english instead of german whereas the admin panel for [i]zenpage[/i] is in german (as announced).
When I uncheck the plugin everything in the gallery is working as expected, the words and sentences visible to the public are in german.
What do I have to change to get my preferred language while using the zenpage-plugin?

Many thanks in advance
Molina

Administrator
Administrator
acrylian   22-10-2008, 14:29
#2

Do you use the zenpage default theme?

Member
Member
Molina   22-10-2008, 15:05
#3

I'm using my own theme for the gallery - ah, I have to use the zenpage default theme for the whole gallery? --- Okay, that's it. I misunderstood the preconditions.
Thank you!

Administrator
Administrator
acrylian   22-10-2008, 15:41
#4

No, of course you don't have to use the zenpage default theme! The problem is that the translations on the standard themes are done via gettext. That relies on the line number where the string to translate is (I hope you don't mind that I don't dig further to that). Zenpage is a plugin and all that you add to your theme is not taken care of by the general Zenphoto translation. If you need translation functionality on your theme, you need to do a separate translations (as the zenpage default theme does).

That feature seems to have still some bugs were there are conflicts between translation strings provided by Zenphoto functions and those provided by Zenpage so that some are not translated. Info on theme translations on our translating tutorial.

Of course you could do your theme hardcoded in German if you don't need any other language.

Member
Member
Molina   22-10-2008, 18:55
#5

Thanks again, acrylian.
It's true, I was wondering that I do have to use the zenpage default theme for this plugin - the theme's nice, but...

I hope you don't mind that I don't dig further to that
No ;-) All of you do so many many things for all the users!
I'll see what I can do for myself, getting it done it german and english would be great!

Molina

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