weblate
weblate copied to clipboard
Enhance SAP Translation Hub API calls with "domain"
Describe the problem
SAP supports different terminology domains.
E.g. the German word "Anlage" could be "attachment" (general) in English or an "asset" (accounting, financials).
In order to pick the right translation, the domain of the translation can be sent via the API.
Example:

The domain is part of the SAP XLF file which is exported and used for translation.
Example:

Describe the solution you'd like
Since using this attribute (category) automatically in Weblate would be ideal, but might be a more tedious implementation, maybe the domain could become a configurable property of each translation component in Weblate when dealing with SAP XLIFF files?
The STH Translation UI provides a drop-down to select from the major domains:

Describe alternatives you've considered
No response
Screenshots
No response
Additional context
No response