Skip to Content

<<Updated blog post including changes and feature updates in SAP Cloud Platform SDK for iOS 2.0 SP01>>

In today’s globalized digital economy, speaking the local language of customer is crucial for customer engagement and faster market adoption. SAP Translation Hub helps in doing so. SAP Translation Hub is one of the services available in SAP Cloud Platform. Read here for more information


Since SAP Cloud Platform SDK for iOS 2.0 release, a new translation capability has been added in Assistant tool (a native MacOS app)

In this blog i will be showing to you that how easily you can add translation to an existing Xcode project created in Assistant Tool and its very simple to get native iOS apps translated.


(below steps have been performed using XCode 9.2 and iOS SDK 2.0 SP01)



  1. Lets us setup Translation Hub account in Assistant Tool:


Here, you need to provide Base URL of Translation Hub. (Since release of SDK 2.0 SP01, you only need base URL in order to connect to SAP Cloud Platform translation hub service from SDK assistant)


Note: If you already have translation hub account added in the SDK Assistant, with this new SP01 installation, you will notice that Base URL field will be updated as per below screenshot.


2. In Assistant, click on drop-down icon against an existing Project, select “Add Translation” option


3. You should be able to see this screen, select Language(s) you want to add translation for in your Xcode project (these list of languages/options coming directly from Translation Hub)

  • Enter a project name
  • Select the Domain (business domain) for your project
  • Select Language(s)


Also, with new version of translation Hub, we can now list existing translation hub projects in SDK Assistant, so apart from “Create” scenario which creates new Translation Hub project, there is also “Reuse” option to select existing project. Once you select this, you will notice that “Domain” is pre-filled, no editable, also “Language” table also get pre-filled with languages project has already been translated to. You can add or go with it.

I selected German (de) option, click on “Add” ,

Assistant is exporting some localizable strings from Xcode project into xliff file(s), these files are uploading to Translation Hub account for translation, these files are translated there, translation get send back to Assistant and then assistant will import translated files into Xcode project automatically.


you should see below project structure once import is successful,

Note: In case, you did select more than one language, project structure might look different.

5. Before launching app in simulator, change device/simulator language to German

(Settings > General > Language Region )

6. Run project


You can check translation project in translation Hub UI

 You can directly open translation hub project from SDK Assistant itself,  click on project drop down menu (same as in step#2), click on “Add Translation” and in the left bottom , click on “Go to Translation  Hub”



Under Translations, you will see translated text, also, you might want to fine tune text in case you didn’t like what translation Hub did for .


at the moment, text for app icon is like below:

lets try adjusting its text, i am going to update CFBundleName from (PRODUCT_NAME) $ to Produkt under German language > Save Project

lets run project again as done in step#2 and 3,

lets run project again, now i can see that updated text has been reflected.


Check below resources for more information:

Help Documentation

What’s new in SAP Cloud Platform SDK for iOS 2.0 SP01

Latest changes in SAP Cloud Platform SDK for iOS Assistant and its generated apps

SAP Discovery Service integration in SAP Cloud Platform SDK for iOS

SAP API Business Hub Integration – SAP Cloud Platform SDK for iOS 2.0

From API to App: Assistant tool generates mobile app scaffolding from a Backend API


Thanks for reading.

Jitendra Kansal

Product Management, SAP Cloud Platform User Experience

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply