How to translated from English to other language by PHP?

Discussion in 'PHP' started by cathaylist.com, Jan 8, 2011.

  1. #1
    I know Google offers language API, but it limits the amount of words.
    Is there anyway to translate lanaguage by some php API methods?

    I would like to translate the data in MYSQL from Chinese into English.
    Anyone have an idea? Thanks.
     
    cathaylist.com, Jan 8, 2011 IP
  2. sanyi007

    sanyi007 Peon

    Messages:
    189
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can just use google site translate, but that won't be that good. For a normal, clear translate you have to hire translators and translate all your content. I don't think any kind of "machine translation" would be usable on a serious site.
     
    sanyi007, Jan 9, 2011 IP
  3. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #3
    @sanyi007; i've tried it on my own site and translated the text from english to dutch (my language) and it was really funny to read. I must say, hire translators..

    For 400 lines of translations you pay between $10 - $30 and its well writen!
     
    EricBruggema, Jan 9, 2011 IP
  4. cathaylist.com

    cathaylist.com Well-Known Member

    Messages:
    437
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    125
    #4
    I know. Machine translation will not be good as human transaltion, but I just need to php translate functions to do the machine translate.
    I have search google again. I am thinking to ingore the long text part, only translate the short part.
     
    cathaylist.com, Jan 9, 2011 IP
  5. Guillo

    Guillo Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I don't know about your particular site, but if you are using a CMS to run it there are usually modules and apps that let you translate the user interface (like JommFish for Joomla sites).
    For the content, I've seen some scripts that use the babel fish or google translator engines to let the users translate specific portions of content on site.
    That said, machine translators do a terrible job... but it's enough to know what something talks about, at least get an overview. It all depends on what you want, but don't entirely dismiss the translators... just add a disclaimer on your site warning people that it's an automated translation when they click the link.
     
    Guillo, Jan 12, 2011 IP