TranslationStudio allows you to easily file translation requests without the need for later manual intervention.
At its core, TranslationStudio distinguishes between urgent translation requests (which will be processed immediately) and regular requests which will be processed if certain quotes are met.
A preview page might be very helpful as it provides additional contextual information which might aid the translator. Preview pages can be generated from an existing output channel (such as PDF). If your project does not have any eligible channel, you may consider adding one, if necessary.
Preview pages, however, are not required by the TranslationStudio in order to work properly. Rather, it is a feature which provides more contextual information to the translator.
In addition, TranslationStudio allows you to define how many pages and datasets should be included in one translatable XML file. This is a crucial aspect, because
The latter aspect is of particular importance, because it allows you to control certain thresholds which guarantee a most efficient translation process. For example, too many files might increase the time needed for translation and splitting files might allow more translators to work on them at the same time.
TranslationStudio is very flexible and offers you a variety of means to customise its usage according to your specific needs. Most of these needs can be operationalised using a proper configuration of your module or workflows.
TranslationStudio can be self-hosted in your on-premise environment or hosted in a cloud.
If self-hosted, you may access TranslationStudio’s complete configuration panel by opening the ServerManager’s server properties and selecting Modules
. To configure the service, select the item TranslationStudio Studio Service
from the list and click the Configure
button as depicted below.
If hosted in a cloud, you cannot access server properties but configure TranslationStudio by navigating to and configuring the TranslationStudio project component.
It does not matter (nor does it make a difference) which project component you use to access the configuration. |
If you configure TranslationStudio via the project component, you do not need to consider certain settings such as connectivity because these information will be administered by your hoster. Hence, you can focus on only those aspects necessary to customise your TranslationStudio instance according to your needs.
You can configure the module at any time. Any changes stored will be sent to the TranslationStudio application automatically.
Make sure to configure TranslationStudio and send it to the TranslationStudio application. If TranslationStudio has never been configured, it will start with a configuration template to make editing easier. Yet, it will be unable to connect to FirstSpirit and actually process your requests. |
This settings category allows you to configure the connection settings necessary for FirstSpirit to communicate with TranslationStudio and vice versa.
Please provide the address and port FirstSpirit will use to access the TranslationStudio Application.
Please provide only the IP or server name. If you use names instead of IP addresses, make sure that the TranslationStudio server can resolve the FirstSpirit address. In addition, FirstSpirit has to be able to resolve the TranslationStudio address. |
You can test the connections by clicking on the respective Test Connection
button.
TLS/SSL should only be used if you installed TranslationStudio with TLS encryption - simply checking the box does not automatically activate TLS in the TranslationStudio Application. |
The TranslationStudio Application uses the given FirstSpirit user to access the respective projects. Make sure that this user has project access to all projects using TranslationStudio.
TranslationStudio has two processes which can be scheduled independently from one another:
Depending on your workload and translation timings it might be a good idea to configure the scheduling. By default, each process will be executed after a one minute break.
Usually, translations take longer and it might be enough wait for 1h between two translation checks.
These settings can be used to control the workload. Since exporting and importing data from and into FirstSpirit might impose significant workload on the server, you may want to avoid intense workload during your office hours. These settings allow you to consider such necessities.
TranslationStudio distinguishes between three kinds of mails:
You can test the connection and send a test e-mail to the administrator by clicking Test Settings
.
The Receive Notifications section allows you to fine tune which kind of emails you would like to receive. By default, a notification will be sent to each user who requested a page or dataset to be translated. Whenever a status change occurs to this page, an email will be sent to the user if provided in the FirstSpirit user configuration. However, you may also only send all email notifications to the administrator’s email. Finally, you may also deactivate any user notification by sending notifications to nobody.
Information on the Mail Server
User notifications use FirstSpirit’s email settings which are set elsewhere. You may, however, decide not to use the FirstSpirit mail service by deselecting the respective box on the lower right.
Quote configurations allow controlling when and how pages and datasets registered for translation are processed and when a translation job is actually being initiated.
There are 2 types of configuration available
Importantly, both types do not differ in terms of available options.
The default quote configuration can be used at any time and will also be used in case a previously defined custom quote configuration is removed from this list although there are elements already registered for translation.
You may add unlimited custom quote configurations under the respective tab’s panel.
The available settings will be described in the following:
A translation will be initiated if at least one of the above criteria is met. |
A zero value in Number of pages required
or Start if oldest element is X day(s) old
deactivates the respective criterion.
A negative value for Start if deadline is reached in X day(s)
deactivates the respective criterion.
All changes made will only be stored if you click on the “Apply Changes” button. |
Connectors are used to connect to various Translation Memory System (TMS). The following types of connectors are available.
Connectors marked with an (*) provide machine translations and the result should be reviewed. There will be no guarantee regarding the correctness of the translations created by any machine translation system. |
The Filesystem Connector can only be configured but not removed. It will be used if no particular connector is required.
The AWS, DeepL and Google Translate connectors can only be used if you provide valid credentials and access keys in its respective configuration panel.
Custom connectors require additional configuration and can be added as needed.
You can activate the TranslationHelper plugin by activating the feature in either of these connectors. |
If your TranslationStudio is hosted in the cloud, you do not necessarily need AWS credentials. Please contact your administrator for further information. |
The custom connector panel consists of 2 areas:
New connectors can be added or removed using the respective icons next to the list and 3 pieces of information are required for each available system in order to work properly:
Configurable
entry holds the fully qualified class name which implements the TranslationMemorySystemConnectorConfigurationGui
interface from the connector API.
Connector
entry holds the fully qualified class name which implements the TranslationMemoryConnector
interface from the connector API.
You can (optionally) load the required data from a connector’s xml file which makes this installation easier. The xml file must follow the xml structure shown below (using data from the above screenshot to provide sample data). You can load the file using the load from file
button in the upper right.
<?xml version="1.0" encoding="UTF-8"?> <connector> <name>Custom Connector</name> <configurable>com.mycompany.connector.configuration.Panel</configurable> <instance>com.mycompany.connector.instance.Connector</instance> <xml-connector></xml-connector> <xml-gui></xml-gui> </connector>
To configure the respective connector, click on the Configure
button. Importantly: All changes made to the connector configuration will have to be confirmed using the Apply Changes
button.
Please note: each connector provides a list of available projects. For example, a given TMS might provide specific projects for certain language pairs, e.g. from English to German or from English to French.
Other connectors, such as the filesystem connector only provide one single project. Importantly, each project has a unique id which is used to identify the respective project in the TMS. The list of available projects per connector is forwarded to FirstSpirit and available to projects and language mappings.
Depending on the connector and the underlying Translation Memory System (TMS), some TMS projects might be deleted or removed and, consequently, wont be available to TranslationStudio anymore.
Yet, existing language mappings might still have stored the id of the removed TMS project. Thus, it might be necessary to change these mappings and choose other target TMS projects or to remove the respective language mappings from the FirstSpirit project.
However, if a translation is requested using a language mapping with an invalid TMS project, the element might not be processed. Consequently, make sure that language mappings always use existing TMS projects.
Connecting to Translation Memory Servers
Sometimes, a connection to a Translation Memory Server may fail because the server uses self-signed certificates, for example. In that case, you have to add the certificate to the JDK’s default keystore on the server running the TranslationStudio Application.
This section contains several features which may be made available to TranslationStudio or not.
translated
flag in FirstSpirit after successful importstranslated
after the successful import.
translate
those non-standard uids. We strongly urge you to use standard uids, because this may cause data confusion and data loss!
Monitor
section.
TranslationStudio provides tools to monitor the application and to react to specific situations.
You may decide how often a check is to be carried out.
TranslationStudio is able to identify if a core process has died unexpectedly (e.g. due to an out of memory error) and to respond to such an event according to the settings provided here.
In addition, you may choose to collect some metrical information. Those information can be accessed using the TranslationStudio Dashboard.
TranslationStudio can be installed automatically whenever you its project component to a FirstSpirit project.
If you want to install TranslationStudio simply by adding its project component automatically, you will have to meet the following requirements:
In order to use TranslationStudio in your project, the project component has to be added to the project and the installation script executed.
Usually, you do not want your editors to decide which translation language combination and TMS is to be used. This may result in illegal language combinations.
Therefore, supported combinations have to be created. Thereby, you as administrator define which languages can be used as source languages and which languages will be translated into.
To create a mapping, navigate to the Mappings folder fts_configuration
in the Global Content Area and create a new page template using the template fts_gca_mapping
as shown below:
Attention to Visibility
The template Language Mappings
is configured to be visible by default. That is because you should be able to create new Language Mappings
immediately after installation. But we recommend setting the template to hidden, when you have create all language mappings needed.
To do this, open the properties of the template Language Mappings
and change the attribute In selection list
to hidden
.
The new page contains a list of language mappings in which translation directions can be configured. The list will be processed in parallel.
Each language mapping entry has 3 boxes
On start-up, the TMS Project list will only include a Filesystem
project.
Once all languages for a mapping have been defined, the page can be closed and saved.
You can set permissions to restrict visibility of each translation language mapping page to reduce the complexity for your users. |
Pre-assigning specific language mappings to certain folders
It is possible to assign default mappings to any folder, which, of course, can be changed by the user individually if necessary. For example, if the default translation mapping is German to English, this mapping can be assigned to a folder using the meta data form of the respective element. However, the assignment might be changed on the workflow form (see below) any time.
For example, if you want to set the above mapping as default for the entire page store, select the Page Content root element in the SiteArchitect, open the meta data form and follow the instructions as depicted below:
As a result, the form which is provided whenever a user starts a translation workflow has the above pre-selected language mapping. This default value can be changed any time by simply choosing another page reference.
Limitations
It is not possible to pre-assign language mappings for datasets using metadata. However, you may want to set default form values in the register_dataset script.
TranslationStudio uses workflows and permissions have to be configured. This has to be done for the Page content
, Data sources
and Structure
separately.
Use the respective context menus on the top level items. The actual configuration depends on your project configuration. In the example below, the permissions to use workflows will be granted to the group Everyone
.
You may want to restrict the workflow permissions to specific groups for specific parts of the project. |
Each workflow contains a number of different transitions which may have specific permissions to be executed. By default, each transition requires the user to make changes to the element the workflow is being executed on. You can change this at anytime as shown below.
If you are looking for more information concerning the administration of workflows consult the FirstSpirit documentation. |
Scheduled tasks are required to submit translation requests and are created automatically.
Default Group Permissions
All essential tasks have been created during the installation process automatically and user group permissions set to "everyone". You may change this at any time.
TranslationStudio knows which task to execute and you do not need to worry about this.
A status indicator icon allows you to access available translation status information in a page preview.
To add this feature, please paste the following JavaScript into the respective page templates:
$CMS_RENDER(template:"translationstudio_statusicon")$
Importantly, this template requires the existence of a global web application.
It is possible to add custom fields to each of TranslationStudio’s workflow script forms. In generall, the following input components are supported:
CMS_INPUT_TEXT
CMS_INPUT_TEXTAREA
CMS_INPUT_RADIOBUTTON
CMS_INPUT_COMBOBOX
CMS_INPUT_DATE
You can edit the dedicated script template translationstudio_customfields
to add those custom input components. TranlationStudio will automatically load this form XML and add it to its workflow form and even keep the defaults set here (if available).
Oncce created, this script template will never be overwritten by TranslationStudio again.
There are 2 options available to work with the custom input data from your custom input components:
ICustomMessageXmlHook
)
TranslationStudio allows you to add 2 template fields which can be used as a template (these wil l also be described in the custom fields template). If custom input data is available, a separate file will be created alongside the translatable XML files.
st_fts_custom_file_type
Set the custom file name extension. A txt file will be created if no extension is provided. The file type will always be converted to lower case automatically.
st_fts_custom_file_content
Set the custom file’s content. You can use placeholders to replace with the actual custom data later. Those placeholders follow the format {input-component-name}
Please Consider
If you add custom fields, you have to implement your own ICustomMessageXmlHook
hook to make use of them. Both, the hook and the connector, are able to access the pages and sections included in the translatable xmls using TranslationStudio’s API. The custom field’s data provided by the API is identical to the message
XML value in each translation task ticket (i.e. you have to parse and process it accordingly).
You may add an immediate translation helper by installing the necessary content creator web components.
You have to add the web component to all projects that wish to use the TranslationHelper as described in the installation manual. |
In addition, you will have to configure the Amazon Web Services, DeepL or Google Translate connector and activate the flag Allow this connector to perform direct translation attempts.
If activated, a new icon will be visible in the ContentCreator:
Clicking on this icon will cause a new dialog to appear which requires the user to configure the source and target language for the translation task ahead. Thereafter, the user can request an immediate translation using the Amazon Web Services connector (see above).
The immediate translation has to be reviewed at all times before accepting and saving it. Some formatting may be mixed up due to the target system’s html processing mechanisms. TranslationStudio cannot influence this process. |
TranslationStudio uses an existing output channel to optionally create preview pages. You can change this channel (chosen during the installation process) at any time later by editing the generation task entry of the project’s scheduled tastk fts_preview
via ServerManager
.
The Technical Support of the e-Spirit AG provides expert technical support to customers and partners covering any topic related to the FirstSpirit product. You can get and find more help concerning relevant topics in the FirstSpirit community.