• Resolved eds-danny

    (@eds-danny)


    Hi there!

    Need some help please. I am using this plugin to generate a photo gallery and my client wants to have 3 different languages on his site. The problem is that I want to translate the load button of this gallery.

    I currently use WPGlobus to translate my content, but all the fields (in order to be translatable) needs to have apply_filter() function like this before they get echoed.

    $someVar = apply_filters( ‘the_title’, $buttonText );

    Is there any solution to this please? Or can I hook any function before the content is loaded to apply that filter? Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gallery Ape

    (@galleryape)

    I see what you mean. We’ll check it and additional translations will be added in next gallery release. I think it’s gonna be next week.

    Thread Starter eds-danny

    (@eds-danny)

    Hello!

    Any news to this request please?
    The button is still generated with jQuery and its value is taken from an inline JSON.

    Would be great if the button is created using PHP, so I can apply that translatable filter.

    Plugin Author Gallery Ape

    (@galleryape)

    Yes, you request is added to gallery updates list, so it’s gonna be published in short time. Sorry for some delay.

    Thread Starter eds-danny

    (@eds-danny)

    Hello,

    Still with the last update this was not fixed, but this question was marked as resolved… I updated it to “not resolved”.

    Here is an example: https://imgur.com/a/Bo4zAfg

    The Load More button is generated using a dynamic inline JSON, so you can’t add translations like the guys from WPGlobus suggests:

    $someVar = apply_filters( ‘the_title’, $buttonText );

    Plugin Author Gallery Ape

    (@galleryape)

    We’re working on global gallery update with new interface and absolutely new structure and functionality for our plugin. Please watch for updates.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Translatable Fields’ is closed to new replies.