Add Language-Related Conditions in the Job Offer Letter Template
The language condition is based on a standard token supported by BI Publisher named XDOLOCALE to which you add a language.
Before you start
The BI Publisher plugin must be installed in Microsoft Word and the sample file (.xml) must be loaded.Here's what to do
What to do next
If you want a fallback language for candidates who applied in a language not listed in each conditional region's tags above, you can highlight the region that contains this final translation of the letter.
-
On the BI Publisher tab, click Conditional Region. This brings up a BI Publisher window.
-
On the Properties tab, don't select any tokens from the offer-related list.
-
On the Advanced tab, in the Code field, insert the language condition with the language code but use the exclamation point symbol to exclude all of the languages listed in other conditional regions above.
-
For example:
<?if:$_XDOLOCALE!='en' and $_XDOLOCALE!='es'?>
-
-
On the Advanced tab, in the Text to Display field, you can provide information to other users about the condition. You can replace the default letter C with a more legible label, for example, "Conditional for Languages Other Than English and Spanish".
-
Click OK.
-
At the end of the selected region, a new tag called "EC" will appear automatically. Click it to bring up a BI Publisher window.
-
In the Code field, the
<?endif?>
tag will appear indicating that the conditional region is finished and the following sections of the offer will be shown to all viewers. Don't make any changes to this value. -
In the Text to Display field, you can provide information to other users about which condition is ending here. For example, you can replace the default letters EC with a more legible label such as "End of Condition for Languages Other Than English and Spanish". This label has no effect on the functionality of the condition and the candidate won't see it when viewing the offer.
-
-
Click OK.