Use the Smartcat template engine
Using Smartcat Template Engine technology, you can create your own templates which the system will use for generating documentation. For example, you can create unique templates of invoices and quotes for this or that client.
How it works
Templates will be formed according to special markup elements and a data model that you set in the system for the corresponding type of documents.
What is the data model? A data model is a set of fields containing information about model elements. For example, let's take a model based on which the system generates documents for work done. The model will have the following fields:
Field name | Description |
Name | The project name |
Price | The cost of work |
Words | Translated words |
Date | Due date |
Executive.FirstName | A linguist's name |
Executive.LastName | A linguist's surname |
Executive.Price | A linguist's rate |
A template contains text and tags, which used specifically for displaying model elements. For getting the output from a model, use the following syntax <<[Field1]>>, where Field1 is the name of an element.
The following example shows some information about a particular job :
Template | Output |
Project: <<[Name]>> Deadline: <<[Date]>> Assignee: <<[Executive.FirstName + “ ” + Executive.LastName]>> Rate: <<[Executive.Price \* Words]>> | Project: PRESS\_RELEASE\_APR2020 Deadline: 02.04.2020 Assignee: Oliver Cross Rate: 0.44 |