|
||
In addition to the translation providers available by default, you can also integrate any other services or your own translation mechanisms.
To add a custom service:
1. Create a class that defines the translation functionality or the communication logic between Kentico CMS and an external service. The implementation rules for the class are different for machine and human translation services. You can find detailed information and custom development examples for the two types of services in the dedicated topics:
•Creating human translation services
2. Connect the class to the CMS application. There are two options:
•Create a new assembly (Class library) in your web project and include the service class there. In this case, you must add the appropriate references to both the assembly and the main CMS project.
•Define the service in App_Code and load the class via the API. This ensures that the system automatically compiles the service class and you do not need to use a separate assembly.
3. Register the service in the system via the Site Manager -> Development -> Translation services interface and specify its properties.
4. Create Custom settings for any additional parameters required by the service, such as connection credentials or API keys. This allows administrators to configure the service for specific websites or translation projects.
When translating documents or resource strings, users can choose custom services among the translation options offered by the system.