Support » Plugins » [Plugin: NextGEN Gallery] NGG Translation with “language switcher” plugin

  • Hi guys.

    I’m trying to make galleries names, pictures title/description, translable using the “language switcher plugin” tags:

    But it doesn’t work.
    In the plugin page there is a note to make plugins translable, and it worked for me with the “dagon design sitemap generator” plugin.

    The trick is using this:
    Before using a variable taken from a WP admin form.

    Do you think that this could work for Nextgen Gallery?
    That is the plugin page/help:

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m looking for a solution too – there is someone who’s done work to get Qtranslate working with NextGEN

    but if its that simple with language switcher whoopee !!

    Where do you put “apply_filters” in your plugins ?

    It is as simple as that !!

    “apply_filters” does work !!

    In your template you wrap the text you want translating thus

    apply_filters(‘the_title’, $image->descriptionor $image->alttext etc.)

    got the solution from here

    Update It works on my local, test site but when I try to save descriptions with lang tags in them they are stripped out when I save the new information.
    Something strips out the [lang_xx]tags AND the second language text…

    What the hell is going on ?!

    Is the new version of NGGallery lang_switch compatible?

    Can someone insert the “apply_filters” in the code?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: NextGEN Gallery] NGG Translation with “language switcher” plugin’ is closed to new replies.