WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] NextGEN Gallery text translation (8 posts)

  1. candreu
    Member
    Posted 6 years ago #

    How can I translate the texts "Prev", "Next", "Close or ESC Key" and more, which are shown when I see a picture?

  2. Akashic
    Member
    Posted 6 years ago #

    As for Thickbox, look in nextgen/thickbox/thickbox-pack.js

  3. designsimply
    Member
    Posted 6 years ago #

    These are the snippets you need to edit in wp-content/plugins/nextgen-gallery/thickbox/thickbox-pack.js

    TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>< Prev</a></span>"

    TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next ></a></span>"

    <a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key (appears twice)

    <a href='#' id='TB_closeWindowButton'>close</a> or Esc Key (appears once)

  4. candreu
    Member
    Posted 6 years ago #

    I do it. Thank you everybody.

  5. Tommie Hansen
    Member
    Posted 5 years ago #

    Edit the javascript. Check for "previous" and "next" within the js, change it.. and upload.

  6. Tommie Hansen
    Member
    Posted 5 years ago #

    Edit the javascript. Check for "previous" and "next" within the js, change it.. and upload.

  7. tiffa31
    Member
    Posted 5 years ago #

    I understand how to change the text but can you change the text to an image?

    For example, instead of using the "Close" text I'd prefer to use an image with an X as the close button. Same goes for Next and Prev - I'd prefer to use arrows instead of the text.

    Please help! I've tried relentlessly putting <img src> after I deleted the "close" text but it didnt work.

  8. tiffa31
    Member
    Posted 5 years ago #

    nevermind. i got it. for whatever reason it wasnt working the first time.

Topic Closed

This topic has been closed to new replies.

About this Topic