SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2004
    Location
    Somewhere in the Middle East
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Swap text with Hebrew

    Hi, I am using PLOGGER open source web gallery software on my website. Everything is cool except I would like the Next and Previous buttons to be in Hebrew. Can you tell me how to change the following PHP code, so (before echoing the text) it swaps all instances of Next with הבא and all instances of Previous with הקודם

    <tr>
    <td id="prev-link-container"><?php echo plogger_get_prev_picture_link(); ?></td>
    <td id="next-link-container"><?php echo plogger_get_next_picture_link(); ?></td>
    </tr>

    Many thanks,

    Leao

  2. #2
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,198
    Mentioned
    72 Post(s)
    Tagged
    3 Thread(s)
    I do not use Plogger but it says on their webpage there is an "options page" and I would check that first.

    If nothing there search all the files for "Next" and "Previous" and just replace the text - you may have to change the page character encoding if Hebrew is not supported.

  3. #3
    SitePoint Zealot
    Join Date
    Apr 2004
    Location
    Somewhere in the Middle East
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for tip but we have tried all this already. Leao

  4. #4
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,198
    Mentioned
    72 Post(s)
    Tagged
    3 Thread(s)
    Well you did not try very hard as I downloaded the code unzipped it and found the code to change in about 1 min.

  5. #5
    SitePoint Zealot
    Join Date
    Apr 2004
    Location
    Somewhere in the Middle East
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it is in plog-includes/plog-functions.php

    thanks everyone!

    Leao


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •