google.translate api, save setting to cookie

Discussion in 'Programming' started by webandinkmedia, May 11, 2011.

  1. #1
    Hi

    I have a site that utilizes the google.translate API to translate my website. my only problem is, whenever i set a language eg "French" and I navigate on one of my pages, it then resets its language back to "English".

    Is it possible that I will save my settings of my language in a cookie?

    is anyone kind enough to provide me an example?

    Your help would be highly appreciated.

    Thanks!
     
    webandinkmedia, May 11, 2011 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You certainly should be able to code the interface to use a cookie but I haven't looked at the API to be certain.

    I would more question getting an API to do translation as certainly looking at the english/ spanish translations Google can translate the sentiment of it but it is certainly not either accurate or professional, particularly if your using idioms etc
     
    AstarothSolutions, May 12, 2011 IP