Results 1 to 4 of 4

Thread: I am REALLY missing something in the setup instructions

  1. #1
    aberstan is offline Unknown Net Builder
    Join Date
    Dec 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I am REALLY missing something in the setup instructions

    Hi,

    I've been trying to get this script to work for some time now and I just can't figure out what the problem is...

    I have all the prerequisite requirements enabled on my server:

    Apache (1.3 or 2.x)
    Apache mod_rewrite
    PHP cURL support
    PHP safe_mode disabled


    Also, I have adjusted the necessary chmod 777 permissions for the respective folders.

    If I understand correctly, once the folders from the install are put on the root of my web server I should be able to paste in the following code to my html documents and the translation functionality will work...right?

    Code:
    <!-- google_ad_section_start(weight=ignore) -->
    <table width="100%" align="center">
    <tr>
    <td><a href="/lang/en<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/american.jpg" alt="English"></a> </td>
    <td><a href="/lang/de<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/german.jpg" alt="German"></a> </td>
    <td><a href="/lang/es<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/spanish.jpg" alt="Spanish"></a> </td>
    <td><a href="/lang/fr<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/french.jpg" alt="French"></a> </td>
    <td><a href="/lang/it<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/italian.jpg" alt="Italian"></a> </td>
    <td><a href="/lang/pt<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/portuguese.jpg" alt="Portuguese"></a> </td>
    <td><a href="/lang/ru<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/russian.gif" alt="Russian"></a> </td>
    <td><a href="/lang/ja<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/japanese.jpg" alt="Japanese"></a> </td>
    <td><a href="/lang/ko<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/korean.jpg" alt="Korean"></a> </td>
    <td><a href="/lang/zh-TW<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/chinese.png" alt="Traditional Chinese"></a> </td>
    <td><a href="/lang/zh-CN<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/chinese.gif" alt="Simplified Chinese"></a> </td>
    <td><a href="/lang/ar<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/saudiarabia.gif" alt="Arabic"></a> </td>
    </tr>
    
    </table>
    
    <!-- google_ad_section_end -->
    I see that there references to the lang folder with corresponding folders for the different languages: <a href="/lang/en<?php echo $_SERVER["REQUEST_URI"] ?> Could some one explain what is suppose to go into the lang folders? and the different language folders...like en, fr, de. The install zip I downloaded didn't have any language folders in the lang folder.

    Also, could someone also explain the purpose/role of the index.php fine in the translate folder?

    Thanks for any help with this!

    Jessica
    Last edited by Will.Spencer; 15 December, 2010 at 22:29 PM. Reason: Please keep advertising in the sig links

  2. #2
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Did you edit translate/tr_config.php so that site_url is set to the URL of your web site?

    The subfolders under /lang/ are virtual, they don't really exist.

    What symptoms are you seeing?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  3. #3
    martialarm is offline Unknown Net Builder
    Join Date
    Dec 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am pretty much in the same boat
    Last edited by Will.Spencer; 2 January, 2011 at 07:41 AM. Reason: Please put signature links in your signature.

  4. #4
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Quote Originally Posted by martialarm View Post
    I am pretty much in the same boat
    In order to best resolve issues with the translation script, it helps if you post as much relevant information as possible in your trouble report.

    This data usually includes:

    • The URL of the site you are translating
    • The URL to a copy of version.php running on your site (See the Troubleshooting Tips for a copy of this on-line program.)
    • Does the issue affect Google Translate, Yahoo Babelfish, or both?
    • What hosting company is your web site hosted at?
    • Which version of the Translation Script are you running? (Look at the top of translate/translate.php)
    • What version of Apache are you running? (1.3 or 2.x)
    • Does your Apache configuration have mod_rewrite enabled?
    • If you are calling the script from html files, is your Apache configured to support PHP code embedded in html files?
    • Does your host support cURL?
    • Is PHP safe_mode disabled on your host?
    • What HTML/JavaScript/PHP/etc... code are you using to call the script?
    • What error messages are you seeing in your Apache server logs?
    • What error messages are you seeing when you try to translate a page?

    The more information you give us, the more quickly we can help you to resolve your issue.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

Similar Threads

  1. The Missing Rib
    By ChillingBreeze in forum Entertainment
    Replies: 15
    Last Post: 7 February, 2010, 11:35 AM
  2. I am missing...
    By GeeOne in forum General Chat
    Replies: 4
    Last Post: 24 September, 2009, 12:19 PM
  3. Whom are you missing today in NB??
    By Digital in forum General Chat
    Replies: 19
    Last Post: 6 June, 2009, 13:57 PM
  4. Which font is missing?
    By jayant_me in forum Tech-Talk
    Replies: 16
    Last Post: 14 January, 2009, 01:11 AM

Tags for this Thread

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
  •