Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
Free

Personal License

1 application Binary restricted distribution
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

  • Released: Nov 26, 2011
    Last Update: Nov 26, 2011
  • Language: Objective-C
  • Time / costs savings: 20h / $1200 *
(8 ratings)

GoogleTranslateAPI for Objective-C

GoogleTranslateAPI for Objective-C
Developed by Tsuneo Yoshioka, Released Nov 26, 2011

Google Translate API(v2) module for Objective-C

Objective-C

Tags: api , google , ipad , iphone

GoogleTranslateAPI is a Objective-C module to use Google Translate API(v2).

Back to top

Installation

Just copy all files in the package to your project.

Back to top

Usage

Import to your class

#import "GoogleTranslateAPI.h"

Create a instance

GoogleTranslateAPI *aGoogleTranslateAPI = [[GoogleTranslateAPI alloc] init];

Implement delegate methods in delegate class.

Error handling:

(void)translate:(GoogleTranslateAPI *)aGoogleTranslateAPI didFailWithError:(NSError *)error

Progress status:

(void)translateProgress:(GoogleTranslateAPI *)aGoogleTranslateAPI message:(NSString *)message

Translate finishing:

(void)translateDidFinished:(GoogleTranslateAPI *)aGoogleTranslateAPI text:(NSString *)text

Call "translate" method to start translation

[aGoogleTranslateAPI translate:text sourceLang:sourceLang destLang:destLang delegate:self];
Back to top

Real example

This "GoogleTranslateAPI" module is originally made for a iOS(iPhone/iPad/iPod) application "CamLingual". Full source code of the "CamLingual" is open for reference.

About CamLingual: http://www.camlingual.com/

CamLingual source code: https://github.com/yoshiokatsuneo/camlingual_iphone

Back to top

This module may include package below

  • json-framework: https://github.com/stig/json-framework/
  • NSString+HTML(part of MWFeedParser): https://github.com/mwaterfall/MWFeedParser
  • Google Toolbox for Mac: http://code.google.com/p/google-toolbox-for-mac/
View all 6 reviews »

User Reviews

  • jamshed 1 year ago
    That is vary vary help code for me.
    Flag
    Was this helpful? Yes No
  • Yang Li 1 year ago
    It's good. I can work on my new project with this API. However, if they can provide demo, that'll be highly appreciated !!
    Flag
    Was this helpful? Yes No
  • hieu 1 year ago
    It is very good.
    Flag
    Was this helpful? Yes No
Read all 1 comments »

Questions & Comments


Or enter your name and Email
  • vimalmurugan 10 months ago
    hi,
    what i need to set for api_key in google translate
You must be logged-in to vote. Log-in to your account or register now.