Results 1 to 4 of 4

Thread: Help...Google translation for webform submit

  1. #1
    Join Date
    Sep 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help...Google translation for webform submit

    am using google translate to convert the page into other language
    (Spanish and Chinese mainly) once the page is translated

    The translation is not working for following form submit


    <form id="form1" method="get" action="targetpage.aspx"
    onsubmit="javascript:return jscriptfunction();">
    <div id="submitForm" >
    <input type="submit" value="Click!" /></
    div>
    </div>


    </form>


    function jscriptfunction()
    {


    //update fields


    return true;



    }


    Can someone help or suggest a way to get translated webpage on submit
    click..
    Thanks for your help in advance

    Vinay

  2. #2
    Join Date
    Sep 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I have the same problem

    Hey i am facing the same problem and not get any solution yet.
    Please tell me if you found any solution.

    Thanks.

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Google translate grabs everything from your page, runs it through their server then outputs it on their server. That means you are no longer at your website-- you're on google. So things like forms, etc., that rely on being on your webpage probably won't work any more.

    There is no real "solution" to this except finding another way to translate the page.

    Here are some ideas:
    1. Translate the pages yourself (using google translate if you must), and saving a copy on your website (like spanish.yoursite.com) so it's translated for the visitors but still being served from your website and forms, etc., will work.
    2. Implement a translation system. You can setup variables (like "$welcomenote") and store the user's language choice. $welcomenote would then be replaced by "Welcome!" or "¡Bienvenido!" depending on English/Spanish version of the page. This would take a lot of time to setup, but it is the best solution if possible. You'd need a database and a serverside language (like php) to make this work.
    3. Look for an add on to your site that will do what google does, but from your server. It would dynamically process all of your pages into a language then output it but still be ok for forms and other content because it's not on an external site like google. However, I don't know what (if any) options there are like this, so do a google search and see what you come up with, though I doubt there will be much for free.


    Also, remember that though google translate is a good translator, no automated translator will do a very good job or effectively replace human translation. If it is at all possible, try to actually have a person translate the pages, or maybe just give up on having the site in multiple languages. (Anyone can use google translate for your webpage; you could just link to that and explain how.) It may seem like you're helping a lot, and in some ways you are, but machine translation is often so bad (and, as is, strange for technical reasons, like forms), that it just gets in the way and visitors may have better luck with the English page and copying the sections they need to translate themselves. Aside from a truly multilingual site, which is difficult to setup, that is probably the best approach.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Sep 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    Thanks.

    I also thought so that manual translation is the best option.
    I just wanted to know that google really not work with forms or I am missing anything. So I found that it is not my mistake.

    Thanks.

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
  •