Results 1 to 8 of 8

Thread: Lost in translation: url changes but no translation

  1. #1

    Lost in translation: url changes but no translation

    Hi all,
    Trying to test this nice tool at

    Two problems so far: when I click translate link, the url changes, but no translation actually occurs.
    Also, once visited "translated" page the links for the other langs become mess:

    Any hints?
    Last edited by dzak; 13 February, 2010 at 14:54 PM. Reason: damn editor

  2. #2

  3. #3
    Yes it's same...
    I beleive it is something connected with mod rewrite.

    BTW you must change the image name for flags to us.gif, fr.gif, etc.

  4. #4
    Quote Originally Posted by dzak View Post
    Yes it's same...
    I beleive it is something connected with mod rewrite.

    BTW you must change the image name for flags to us.gif, fr.gif, etc.
    yes i know but it's only for to try so the link is enough for now

    can you explain that the mod rewrite as i'am not familiar with it

  5. #5
    its an apache (web server) module, used for permanent redirects through the htaccess file.
    More info here

    Be careful if you wanna play with this

  6. #6
    Seeming to work fine... now
    just checked ur site
    PPC Network, Weekly Payment via Paypal

  7. #7
    which site? i checked them both but not working for me

  8. #8
    Status update: Problem solved by simply removing php from excluded filetypes at htaccess file. Big thanks to floydax.
    Status update: I will post additional data as per Post Trouble Report

    * The URL of the site you are translating
    * The URL to a copy of version.php running on your site
    * Does the issue affect Google Translate, Yahoo Babelfish, or both?
    Never tested Yahoo - but I doubt if this is the issue
    * 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)
    Missing version info - but is the last oneq, from a few days ago
    * 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?
    I'm calling .php 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?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <p>Тестово изречение за превод</p>
    <table width="100%" align="center">
                                        <td><a href="/lang/bg<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/bg.gif" alt="Bulgarian" border="0"></a> </td>
                                        <td><a href="/lang/en<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/uk.gif" alt="English" border="0"></a> </td>
                                        <td><a href="/lang/de<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/de.gif" alt="German" border="0"></a> </td>
                                        <td><a href="/lang/es<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/es.gif" alt="Spanish" border="0"></a> </td>
                                        <td><a href="/lang/fr<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/fr.gif" alt="French" border="0"></a> </td>
                                        <td><a href="/lang/it<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/ita.gif" alt="Italian" border="0"></a> </td>
                                        <td><a href="/lang/pt<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/pt.gif" alt="Portuguese" border="0"></a> </td>
                                        <td><a href="/lang/ru<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/ru.gif" alt="Russian" border="0"></a> </td>
                                        <td><a href="/lang/ja<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/jp.gif" alt="Japanese" border="0"></a> </td>
                                        <td><a href="/lang/ko<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/kr.gif" alt="Korean" border="0"></a> </td>
                                        <td><a href="/lang/gr<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/gr.gif" alt="Greece" border="0"></a> </td>
                                        <td><a href="/lang/zh-CN<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/cn.gif" alt="Chinese" border="0"></a></td>
                                        <td><a href="/lang/ar<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/sa.gif" alt="Arabic" border="0"></a></td>
                                        <td><a href="/lang/cz<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/translate/graphics/cz.gif" alt="Czech" border="0"></a> </td>
    * What error messages are you seeing in your Apache server logs?
    no errors
    * What error messages are you seeing when you try to translate a page?
    no errors, url changes but no actual translation occurs and after the first redirection the language links are messed:
    first click:
    second click: but url @ the address bar stop changes anymore
    Last edited by dzak; 25 February, 2010 at 15:50 PM. Reason: Problem solved

Similar Threads

  1. Translation Script Documentation
    By Will.Spencer in forum Translation Script Support
    Replies: 28
    Last Post: 12 October, 2012, 21:02 PM
  2. Adsense ToS and Translation
    By cobs in forum Translation Script Support
    Replies: 3
    Last Post: 23 September, 2009, 10:30 AM
  3. Seeing some other translation scripts.. Whats this?
    By CrazyRight in forum Translation Script Support
    Replies: 7
    Last Post: 22 September, 2009, 16:45 PM
  4. Need help with this Translation Script!
    By coder77 in forum Translation Script Support
    Replies: 1
    Last Post: 26 February, 2009, 21:05 PM
  5. translation benefits
    By DomainMagnate in forum Translation Script Support
    Replies: 9
    Last Post: 14 December, 2008, 11:29 AM

Tags for this Thread


Posting Permissions

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