WordPress.org

Support

Support » Plugins and Hacks » [Resolved] NextGEN Gallery text translation

[Resolved] NextGEN Gallery text translation

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • As for Thickbox, look in nextgen/thickbox/thickbox-pack.js

    designsimply
    Member

    @designsimply

    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)

    I do it. Thank you everybody.

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

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

    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.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] NextGEN Gallery text translation’ is closed to new replies.