SAP Translation Hub - FAQ
Got a question about using the services offered by SAP Translation Hub? The questions are based on real questions that customers and partners faced when using SAP Translation Hub. Maybe you have a special use case that required you to make extra settings in connected tools? Make this a living document by adding a comment at the bottom, or, if you prefer, drop us a line at firstname.lastname@example.org.
By default, projects in SAP Web IDE expect the properties file to be called i18n.properties, which is in a folder called i18n:
If your properties file is located in the i18n folder, but has a different name, you must enter the name of your properties file as a value for the defaultI18NPropertyFile key in the .project.json file:
If your properties file is located in a folder that is not called i18n, you must enter the name of your folder as a value for the resourceModelName key in the .project.json file:
Note: It is not possible to create a folder hierarchy for the properties file - the properties file must be stored in a folder one level below your project. For example, MyProject/Myi18nFolder/my18n.properties is possible, but MyProject/MyFolders/Myi18nFolder/my18n.properties is not possible.
2. I created a new HTML5 application in SAP Web IDE and deployed it to SAP HANA Cloud Platform. When I try to translate the properties file with a translation project in SAP Translation Hub, I get an error message. What can I do?
There are a couple of things to try:
- Check whether the name of your application and the path to the properties file are correct in your translation project.
- Check whether you have committed and pushed your application to the SAP HANA Cloud Platform Git repository. Only after doing this is your application in the Git repository and can be accessed by SAP Translation Hub. To verify whether your app is in the Git repository, pull up your HTML5 application in SAP HANA Cloud Platform cockpit. In the left pane, choose Versioning.
If you see only the following entry, you need to commit your changes in SAP Web IDE:
After committing your application in SAP Web IDE, the following entry appears:
SAP Translation Hub is currently a beta feature, to which certain restrictions apply. To used beta features, you must enable these features for your account in the SAP HANA Cloud Platform cockpit as follows:
For more information, check out Using Beta Features in Accounts.
Check out Matt Harding's explanation at Using Git in HCP for your Fiori developments.