Demo translation connector
You may want to create a demo connector that does not actually send the items for translation. Its purpose is to demonstrate the behaviors of the translation connectors in the context of Sitefinity CMS and to walk you to through the translation workflow.
Perform the following:
- Click Administration» Settings» Advanced» Translations» Connectors.
- Click Create new.
- In Name, enter a name for the connector
For example, enterDemoConnector - In Title, enter the title that will appear in the UI.
For example,Demo connector - In ConnectorType, enter
Telerik.Sitefinity.Translations.DummyTranslationConnector - Leave Supported languages blank.
- 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.
RESULT: The connector appears as an option in the dropdown list of connectors when you are sending items for translation.
NOTE: This demo connector does not translate the content. It only adds the target language code as a suffix to the original content.
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.