2022.2

Table Of Contents
1. Onthemenu,selectEdit > Locale.
2. Usethedrop-downtoselecthowthelocaleistobesetforthecurrenttemplate:
l
SelectSystem Localetousetheoperatingsystem'slocalesettings.Theoperatingsys-
tem'slocaleissetintheRegionsettingsofthecontrolpanel.Notethatwhenoutputisgen-
eratedonadifferentoperatingsystem,thatoperatingsystem'slocalewillbeused.
l
SelectExplicit Localetospecifyastaticlocalewhichwillremainstaticforthistemplate,
whicheverserverthetemplateisusedon.UsetheLocale drop-downtoselectaspecific
locale.Thelocalescomprisealanguagecodefollowedbya2-lettercountrycode(de-DE,
zh-CN,fr-CA,fr-FR,etc),asdefinedbytheinternationalstandardsISO-639-1andISO
3166.
l
SelectData Fieldtouseadatafieldfromtherecord.Thelocalewillberecord-specificin
thiscase.Usethedrop-downtoselectafieldwithinthecurrentDataModelthatcontains
thelocale.
l
SelectParametertousethevalueofaruntimeparameter.Runtimeparametersare
definedinthetemplate,buttheirvalueissetatruntime;see"Runtimeparameters"on
page429.
Note: TheDataFieldorRuntimeParametervaluemustbeastringthatcontainstheexact
localetobeused,suchas"en"or"fr-CA".Itcannotbeanaliassuchas"english"or
"french".Thelocalesupportslanguagecodes(en,fr,etc),aswellaslanguagecodesfol-
lowedbyahyphenanda2-lettercountrycode(de-DE,zh-CN,fr-CA,fr-FR,etc).The
languagecodesaredefinedbyISO-639-1.The2-lettercountrycodeisdefinedbyISO
3166.Itisallowedtouseanunderscoreinsteadofahyphen(de_DE,zh_CN,fr_CA,fr_
FR,etc).
3. ClickOKtoapplythesetting.Thesettingwillbesavedwiththetemplate.
Spacing
Boxes,tables,paragraphsandmanyotherelementshaveamarginandpadding.
Themarginisthewhitespacearoundanelement,outsidetheborder.Itisusedtopositionanelement
inrelationtotheotherelements,byputtingmorespacebetweentheelementanditssurroundingele-
ments.
Thepaddingisthespacebetweenanelement'scontentanditsborder.Itisusedtopositionthecontent
oftheelementinsidetheborder.
Elementshavearectangularshape,sotheyhavefoursides.Themarginandpaddinghavebedifferent
onallsides.
Tip: Useanegativeleftmargintocreateahangingparagraphorimage.
Page 707