Guidelines
First of all, if you would like to allow the users to translate offline, you need to have an Administrator role in order to enable such an option in Configuration → Settings → Translation → Workflow and access → Linguist general options → Allow linguists to download/upload.
Create a project in XTM Cloud (using any supported file extension).
Generate the XLIFF file in Project editor → Files → Offline translation.
After you generate the XLIFF file, you can download it by clicking the green arrow.
A generated XLIFF file can be translated in any text editor or used as a source file in another CAT tool that supports this format.
The finished translation file can be then reuploaded to XTM Cloud. Select in Project editor → Files → Offline translation, using the purple arrow this time.
At this stage, you can specify the workflow step to which you would like to upload your translation and specify what segments are to be approved immediately:
IMPORTANT!
Note that if the file has been translated in another CAT tool, it is important to keep the XLF extension.
If you not want to the project to be translated outside XTM Cloud, you can always use the XLIFF file as a source file for the XTM Cloud project and translate that file in XTM Cloud.
Locking segments based on trans-unit attribute for offline XLIFF import
Description
When uploading an offline XLIFF file to a project it is possible to have XTM Workbench segments locked, based on a specific attribute with a specific value, that can seamlessly be added within a trans-unit node in the mentioned XLIFF file.
Instructions
User stories
Lock segments indicated in the imported offline editor XLIFF
USER STORY
As a user authorized to import the offline editor XLIFF file
I can mark segments in a special way that are to be locked for editing after file import
So that after import they will be marked as locked in Workbench
ACCEPTANCE CRITERIA
I can influence the state of the segment by importing the XLIFF offline editor and changing it to locked by providing one XML element in the <trans-unit> element
setting segment locking must be possible in the offline XLIFF editor and multi XLIFF
no additional configuration is needed, the feature must work for every client
it must be possible to lock the translated and untranslated segments
it must be possible to lock merged segments
a segment that has been merged to a higher segment may be marked as locked in the offline XLIFF editor, but the system should ignore this marking
any user with permissions to upload offline editor XLIFF or multi XLIFF can indicate segments to be locked in <trans-unit> elements
the role of the PM/Linguist user does not matter if he has such permissions.
import made via API must work in the same way as manual upload
Show user identity informing about lock segment reason
USER STORY
As a Workbench user working in edit mode
I can check information about the reason for blocking the segment
So that I know who performed the segment lock action
ACCEPTANCE CRITERIA
the information must be available in hint over the lock icon
there must be indicate a user who imported XLIFF offline editor and locked segment during such import
the user identity must get form specified in Security settings
once the import XLIFF has been performed by current Workbench user the information must by specific to situation
Unlock segments locked after import of offline editor XLIFF
USER STORY
As a Workbench user with permissions to unlock segments
I can unlock segments locked as a result of importing offline editor XLIFF files
So that they will be editable
ACCEPTANCE CRITERIA
each Workbench user, in edit mode, can unlock a segment for editing only if they have permissions to do so (Edit user > Access rights > Segment locking rights > Lock and Unlock OR Unlock only)
Good to know!
To learn about certain restrictions and good practices when dealing with offline translations, we recommend that you read the following article: Restrictions and good practices when dealing with XLIFF and multi-XLIFF files in offline translation.