Skip to Content
Product Information

Translation Plugin for SAP Web IDE Fullstack

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.

Example%20destination

  1. Choose Services and locate the SAP Web IDE tile by searching for web. Then choose the tile.
    SAP%20WEB%20IDE%20in%20Service%20catalog
  2. In the service description for SAP Web IDE, choose Go to Service.
    SAP%20WEB%20IDE%20tile
  3. Select on the left side in SAP Web IDE the Preference icon and select in Extensions.
    SAP%20WEB%20IDE%20extension
  4. To enable the ‘SAP Translation Hub Plugin’, search for ‘translation’ and enable it by clicking on the off/on button.
    Translation%20Plugin
  5. Now you can start the translation with a right click on the source properties file in your project with “Generate Translation Files (plugin)
    Translation%20step
  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.
    Select_domain
  7. Enter your Git password and click on the ‘Submit’ button.
    Password
  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”.
    finish
  9. Open the Git Pane and select Pull.
    Pull
  10. You can find the new i18n.properties files for the selected target languages in your project
    target
Be the first to leave a comment
You must be Logged on to comment or reply to a post.