NextGEN Gallery
Customize language (6 posts)

  1. ritaszabo77
    Posted 3 years ago #

    Hi, I would like to edit a title called 'Show as slideshow' to my language. It is shown at my gallery page, on top of the images. Where do I edit that?
    Thank you for your help.


  2. Charles E. Frees-Melvin
    Posted 3 years ago #

    You can create a localization .mo and .po in the /lang file that matches the language of your wordpress install. Looks like German is the only one in there now but you can add any language you need. The .pot file is in the /lang folder and software like Poedit is great.

  3. ritaszabo77
    Posted 3 years ago #

    Hello Charles, thanks for your attention.
    Apparently Poedit only runs on Unix and Windows, but I'M on a Mac.
    Is it not possible to edit the code itself? But there are so many .php files when I click on 'Edit' this gallery extention, I can't figure which one to choose.
    If I examine the page source, I find it there like this:
    <div class="ngg-galleryoverview" id="ngg-gallery-1-18">

    <!-- Slideshow link -->
    <div class="slideshowlink">

    [Show as slideshow]


    Do you have any idea?
    Many thanks,

  4. Charles E. Frees-Melvin
    Posted 3 years ago #

    Poedit does work on OSX, I use it for the Canadian English version of WordPress and my plugins. http://www.poedit.net/download.php#osx

    According to the .pot file line you are looking for is on line 170 of admin/install.php

    #: ../admin/install.php:170
    msgid "[Show as slideshow]"
    msgstr ""

    It is never a good idea to rewrite a plugin as you would need to fix it after every update.

  5. ritaszabo77
    Posted 3 years ago #

    I see. I only need it now to show a customer, just as a visual. I tried to edit that line you mentioned, but that didn't change the text of that link. Never mind, I'll go the proper way. Thank you for the advice, I have now downloaded the Poedit, and dig my head in! :)

  6. ritaszabo77
    Posted 3 years ago #

    What a great software! I found what you mentioned, and replaced the text I wanted.
    But it now saves my file as a .po file. Do I save it with my language, and load it back to th e lang folder? And if yes, how do I load that content into my website?
    Sorry about the load of questions, I couldn't find any help about this on the Poedit website.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic