activating zenpage changes language in zenphoto

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 zenphotos gettext('...') are in english instead of german whereas the admin panel for zenpage 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

Comments

  • acrylian Administrator, Developer
    Do you use the zenpage default theme?
  • 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!
  • acrylian Administrator, Developer
    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.
  • 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
Sign In or Register to comment.