Latest 0.1.0
License MIT
Platforms ios 7.0, requires ARC
Dependencies AFNetworking


The SDL iOS SDK provides an easy to use interface to the SDL Language Cloud.
This SDK allows you to embed machine and human translation directly into
your iOS app.

Getting Started

Get Your SDL Language Cloud API Key

Run the Sample app

  • Open the SDL.xcworkspace
  • Run the SDLExampleApp application
  • You should be getting and error that prompts you to setup your API key
  • Setup your key in the SDLExampleApp.m file
  • Run the Sample app and you should now see a successful translation in your Console view
    2014-03-25 20:31:57.568 SDL[47320:a0b] Translation: Bonjour
  • Congrats, you just performed your first translation!

Add the SDL SDK to your iOS app

Add via CocoaPods

platform :ios, '7.0'
pod "SDL-iOS-SDK", "~> 0.1.0"

Import the SDK into your code

#import "SDL.h"

Setup your API Key once

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
   [[SDL languageCloud] setup:@"<your api key>"]

Perform a text translation

 [[SDL languageCloud] translateText:@"Good Morning" from:[NSLocale localeWithLocaleIdentifier:@"en"] to:[NSLocale localeWithLocaleIdentifier:@"fr"] success:^(NSString* translation)
        NSLog(@"Successful Translation: %@", translation);
    failure:^(NSString* errorMessage)
        NSLog(@"Error: %@", errorMessage);


The SDL iOS SDK is made available under the MIT license. Pleace see the LICENSE file
for more details.

Latest podspec

    "name": "SDL-iOS-SDK",
    "version": "0.1.0",
    "summary": "The SDL iOS SDK allows you add Machine and Human Translation to your iOS apps via the SDL Language Cloud",
    "description": "tttt   The SDL Language Cloud provides industry-leading translation services.ntttt   Using this SDK you can enable your iOS apps to translate plain text and documents.ntttt   You can get a free API key at",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Dan Calinescu": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": "7.0"
    "source": {
        "git": "",
        "tag": "0.1.0"
    "source_files": "SDLKit/**/*.{h,m}",
    "public_header_files": "SDLKit/**/*.h",
    "requires_arc": true,
    "dependencies": {
        "AFNetworking": [
            "~> 2.0"

Pin It on Pinterest

Share This