The language version feature in Agillic allows you to create translations of your outbound communications and portal pages. This is especially useful if you communicate to multiple countries in different languages and have similar communications, such as signup confirmations or newsletters.
In this article you will find information about:
How to Create Language Versions
Before you can apply language versions to a specific outbound communication or portal page, you need to select the Person Data for storing the recipient language and enable the language versions feature.
Selecting the Language Person Data
By default, Agillic has a Person Data field called LANGUAGE where you can store your recipients' language. If you wish to use the LANGUAGE Person Data, you can skip these steps.
- Create a string Person Data and name it.
- Open the Settings module.
- Open the 'Person Data' subsection under the 'System Settings' section.
- Change the 'Language' drop down to use your new Person Data.
- Click the 'Save' button.
You have now set the Person Data to use for language versions.
How to Define the Languages
- Open the Settings module.
- Open the 'International' subsection under the 'System Settings' section.
- Click the plus icon under the 'Languages' subpanel to add a new language version.
- Fill in the language label you want to see in the interface. For example, this might be 'Danish' with the matching Person Data value 'DA'.
- Repeat steps 3 and 4 for each language you want to add.
- Click the 'Save' button.
You have now defined the languages for language versions.
It's good to remember, if you delete one or more language versions, you must do a full publish to Production to save the changes. Learn how to publish to Production here.
Language settings with 2 different languages
How to Add a Language Version to your Content
- Create your outbound communication or portal page.
- Click the 'Add language version' option in the left menu.
- A Language version pop-up will appear.
- Select the languages you wish to add.
- Click the 'OK' button.
- Click the language drop-down in the upper right corner of the work area.
- Select the new language version from the drop-down menu.
- Your content will now show in the selected language.
- Translate the content into the new language.
- Click the 'Save' button.
You have now added a language version and defined the content. It's important to note that language versions are currently not supported for push notifications.
When sending the communication, Agillic will show the language version to recipients with the matching language value. If the recipient's language value does not match a language version, Agillic shows the default language version.
An Email with the English language version showing
Date and time format
You have the option to display date and timestamps in different formats based on language.
With our date format language feature, you can also define the display language and format for each language version that you’re working with. This feature gives you even more flexibility for working with a multilingual setup.
Language versions define both display formats for all date, timestamp, and number data field types. We borrow our date and timestamp display formats from Java to support as many format patterns and languages as possible. For example, if the date pattern 'EEE, MMMM d, yyyy' is selected with English language, the output would be 'Sat, July 4, 2020'. Using the same pattern with Danish selected would show as 'lør., juli 4, 2020'. The number display format affects which decimal separators are applied on numbers, whether they be full stops or commas. The differing display formats are only applied once content has been rendered for a recipient.
You can find the date and timestamp format settings in the Settings module under 'System Settings' and then 'International'.
The 'International' section in the Settings module