XLIFF file (FTP) connector
This connector automatically sends the XLIFF files, generated by the Translationsmodule, to an FTP server of the translation agency. When the items are translated, the agency uploads them on the FTP server and the connector automatically imports them in Sitefinity.
NOTE: The connector supports secured connection.
To configure XLIFF file (FTP) connector, perform the following:
- Click Administration» Settings» Advanced» Translations» Connectors.
- Click Create new.
- In Name, enter
XliffFTP. - In Title, enter
Export to XLIFF file (FTP).
This is the title that appears in the UI, you can enter any title that is convenient for you. - In ConnectorType, enter
Telerik.Sitefinity.Translations.Xliff.FtpXliffConnector - In Supported languages, enter the languages which you want the connector to work with.
For example, if you enter en-us -> fr-fr; en-us -> es-es, it means you have account for translation service for US English to French and Spanish. - Select Strip HTML tags, if you want to remove all HTML tags and send for translation text only.
EXAMPLE: If you have the following paragraph that you want to send for translation:
>`<p>This is just a test paragraph with a <a href="#">link</a>,`
> `a <strong>strong</strong> tag and nothing else.</p> `
> - If you have the checkbox selected, which is the default behavior, the following will be sent:
> ```XML
> <source>
> <g id="g001">
> <mrk mtype="x-html">This is just a test paragraph with a </mrk>
> <mrk mtype="x-html">link</mrk>
> <mrk mtype="x-html">, a </mrk>
> <mrk mtype="x-html">strong</mrk>
> <mrk mtype="x-html"> tag and nothing else.</mrk>
> </g>
> </source>
> ```
> - If you have the checkbox deselected, the following will be sent:
> ```XML
> <source>
> <g id="g001">
> <mrk mtype="x-html"><p>This is just a test paragraph with a <a href="#">link</a>, a <strong>strong</strong> tag and nothing else.</p></mrk>
> </g>
> </source>
> ```
-
Save your changes
The connector appears under Connectors. -
Click Parametersand create the parameters with the following keys, the values for which will be provided to you by the translation agency that you have chosen:
splitJobsPerLanguage
This parameter indicates whether the exported translation files should be split by language or exported into a single file.HostName
The FTP hostUserName
The username for the FTP serverPassword
The password for the FTP serverTranslatedFilesDir
The name of the import folder where the agency places all translated files. The Translations module will automatically get the files, import the translations, and delete the translated files from the folder.ExportedFilesDir
The name of the export folder where all exported.xlffiles will be located. If not existing, the folder is automatically created.Port
The port to be used to connect to the FTP server. This is an optional parameter. The default value is21.EnableSSL
Specifies whether to use SSL when connecting to the FTP server. This is an optional parameter. The default value isTrue.UsePassive
Specifies whether to use Passive or Active connection to the FTP server. This is an optional parameter. The default value isFalse.
-
Click Parameters and create a new parameter with Key
acknowledgeEveryMessageand Valuefalse
The default value of this parameter istrue. It means that different users, who work with different translation projects with the same connector credentials, can have access to each other's projects and potentially cause conflicts.
For example, one user can approve the translation of another user in a different project.If this use case is applicable to your scenario, you should create this parameter, set its value to
false, and save your changes. -
Save your changes.