Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » Customize language

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    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]

    </div>

    Do you have any idea?
    Many thanks,
    Rita

    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.

    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! 🙂
    Cheers,
    Rita

    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.
    Rita

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