Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
beapasch
Product and Topic Expert
Product and Topic Expert
SAP Translation Hub enables you to translate texts into additional languages with a set of services. We released in April 2016 the integration of the "translate API" in SAP WebIDE. This integration scenario allows you to translate i18n.properties files directly in your SAP Web IDE projects.
As we were not able to update the translation API in this integration scenario we decided to create a new translation plugin to replace the existing translation integration in SAP WEB IDE.
With the new plugin, we use the "translation project API" from SAP Translation Hub.

The video shows how it works:



The setup of the translation plugin in SAP WEB IDE is not complicated and the goal of this blog post is to provide a step by step guide.

  • Open your SAP Cloud Platform neo account

  • In the Cockpit pane on the left, choose Destinations, and create a destination for your account with the following data:










































Field



Entry


Name translationHubBeta
Type HTTP
Description TranslationPlugin
URL

Enter the URL. URLs adhere to the following naming convention: <base URL of your SAP Translation Hub account>/translationhub/


You can copy the required URL from SAP Translation Hub as follows:




  1. In the SAP Cloud Platform cockpit, choose Services.

  2. Choose SAP Translation Hub from the list of services

  3. Choose Go To UI for Translation Workflow and copy the URL directly from the address bar.


Proxy Type Internet
Authentication BasicAuthentication
User Enter your SAP Cloud Platform user name. The user must have been assigned to the User role. See Setting Up Roles and Authorizations.
Password Enter your SAP Cloud Platform password.


  • In Additional Properties, enter the following data:





















Field



Entry


TrustAll true
WebIDEEnabled true



  • Choose Save; depending on the system performance, it may take several minutes for the changes to take effect.





  1. Choose Services and locate the SAP Web IDE tile by searching for web. Then choose the tile.

  2. In the service description for SAP Web IDE, choose Go to Service.

  3. Select on the left side in SAP Web IDE the Preference icon and select in Extensions.

  4. To enable the ‘SAP Translation Hub Plugin’, search for ‘translation’ and enable it by clicking on the off/on button.

  5. Now you can start the translation with a right click on the source properties file in your project with “Generate Translation Files (plugin)

  6. If not yet done in your project settings - select the domain and target languages and start the translation with a click on the ‘Generate’ button.

  7. Enter your Git password and click on the 'Submit' button.

  8. The translation starts in the background and a new translation project is created automatically in SAP Translation Hub. After the translation is finished you will get a notification in right side “Pull files from git”.

  9. Open the Git Pane and select Pull.

  10. You can find the new i18n.properties files for the selected target languages in your project