WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. LeChevalierKANI
    Member
    Posted 1 year 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...

    Cheers

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  3. LeChevalierKANI
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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.
    http://wordpress.org/extend/plugins/nextgen-gallery/
    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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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. Irma
    Member
    Posted 1 year ago #

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

  8. Irma
    Member
    Posted 1 year ago #

    Typo.
    Gallery > Options > Gallery

  9. LeChevalierKANI
    Member
    Posted 1 year ago #

    Irma,

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

    :-)

  10. Irma
    Member
    Posted 1 year 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