Skip to Content

Translate a Java Properties File

Translate and review properties files with the SAP Translation Hub file upload scenario.
You will learn
  • How to translate a properties file using SAP Translation Hub
beapaschBeatrice PaschMay 24, 2022
Created by
beapasch
May 18, 2021
Contributors
beapasch
beapasch

Prerequisites

  • IMPORTANT: This tutorial cannot be completed on a trial account.
  • Step 1

    In your SAP BTP account, choose Services in the navigation area on the left.

    Choose user ID

    !

  • Step 2

    Locate the SAP Translation Hub tile by searching for tran. Then choose the tile.

    Locate SAP Translation Hub

    !

  • Step 3

    In the service description for SAP Translation Hub, choose Go to UI for Translation Workflow.

    Open SAP Translation Hub

    !

  • Step 4

    First, you’ll need to create a translation project.

    Choose + Add New Project and then File Project.

    Create Git project

    !

  • Step 5

    Now you need to enter the following details about your project on the Details tab:

    Field Name Value
    Project Name fioriapp
    Domain Sales
    Source Language English
    File Type Java Properties File
    Target Languages Chinese, French, and German

    You can specify in the Advanced Settings if you want to use a company MLTR or a review process.

    To simplify the tutorial only select YES for Review Required. Leave all other fields and selection options as they are and click the button Proceed to upload file(s).

    Enter project configuration details

    !

  • Step 6

    Drag your source file to anywhere in the project or click on the + icon to upload your .properties file.

    Get translations

    !

    If everything works as expected, you see the following status:

    Success message

    !

  • Step 7

    SAP Translation Hub shows an overview of your translation project. To start the translation process choose the red marked icon and Translate without Download in the bottom right of the screen.

    Get translations

    !

    If everything works as expected, you see the following status:

    Success message

    !

  • Step 8

    The translation is now complete, but you might want to review the translations. To do that, choose Translations:

    Check translations

    !

    This is where you can switch between the target languages and, in the columns to the right, see the translation provider and a quality status. The higher the number on a scale from 0-100, the better the quality.

    For translations provided by SAP machine translation (SAP MT), the quality index is always 25.

    List of translations

    !

  • Step 9

    If you want to change any of the translations, simply make your changes directly in the Translated Text column. When you’re done, choose Save Project. As a final step, download your translations with the button Download Translations.

    Download

    !

    A zip file is downloaded to your local drive. It contains a separate .properties file for each target language.

    zip

    !

    Which file types are available to create a File Project in SAP Translation Hub?

Back to top