1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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