Ready to get started?Download WordPress


[resolved] How do I dig out the code I need to modify the text of a link (10 posts)

  1. LeChevalierKANI
    Posted 2 years ago #

    Hi everyone,

    I want to dig out a link from a code file and modify the text to translate it to French. I believe the link is created dynamically as I am having difficulties finding it. It also comes from the nextgen gallery plugin code files.

    Can someone help? I am familiar with programming and php. No expert yet though.

    Here's the url: http://www.cspo.qc.ca/ecole/plateau/?p=1475

    I want '[Show as slideshow]' to read '[Lancer le diaporama]' instead.

    Fingers crossed...


  2. Andrew
    Forum moderator
    Posted 2 years ago #

    Have you tried deactivating plugins to explore whether any could be responsible?

  3. LeChevalierKANI
    Posted 2 years ago #

    The text is specific to the plugin but I need to figure out how to target the right file(s) and line(s) of code. That way I will be able to translate.

  4. David V
    Posted 2 years ago #

    You don't need to hack the plugin to translate it.
    It looks like your using the nextGEN gallery plugin which already has multiple languages.
    Scroll down to "*Get Translations for your own language" and you'll see the link. You need to download the translation package zip.

  5. LeChevalierKANI
    Posted 2 years ago #

    Thanks David, I followed all instructions but it is not working.
    It must be something minor.

    My wpconfig file is set to French.
    I uploaded the package as and where specified. Do I need to reset/reinstall the package?

    It should work...

  6. David V
    Posted 2 years ago #

    I don't use the nextGEN gallery translation package very often so I don't know the details of it's usage. If you followed their instruction, then your right, it should work.
    I would shoot a quick email to their support, they would be the best to solve that very quickly.
    If you had to hack the plugin, I guess you could, but I would only do that as a last resort.

  7. Hermelijn
    Posted 2 years ago #

    I think the nextgen settings allow you to edit that particular text.
    Galkey > options > gallery

  8. Hermelijn
    Posted 2 years ago #

    Gallery > Options > Gallery

  9. LeChevalierKANI
    Posted 2 years ago #


    You are absolutely right! It works. Thank you and to David too!


  10. Hermelijn
    Posted 2 years ago #

    You're welcome.
    (My first help - I only saw your question because I was posting my own problem haha)

Topic Closed

This topic has been closed to new replies.

About this Topic