2022.2

Table Of Contents
font-weight: normal;
content: ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . ";
}
p.toc-entry .number {
flex-shrink: 1;
text-align: right;
font-weight: bold;
}
ThesestylesmakeuseoftheCSSFlexboxLayoutModule.Formoreinformationaboutthat,see
W3schools:CSSFlexbox.
Translating templates
OLConnecthasabuilt-infeaturetoautomaticallygenerateoutputandpreviewsfromonetemplatein
differentlanguages,andtopluralizecertainwordsintheoutput.
WhenOLConnectgeneratesoutputorcreatesapreviewforatemplate,itlooksforatranslationfile
thatmatchesthecurrent"Locale"onpage706.Ifthereisone,OLConnectusesittolocalizeanyele-
mentsthataretaggedfortranslation,andtopluralizewordsasindicated.
Forthisfeaturetowork,atemplateneedstohave:
l
Contentthatistagged for translation(see:"Taggingelementsfortranslation"onthenextpage)
and,optionally,pluralization(see"Pluralization"onpage860).
l
Oneormoretranslation files(.po).Eachfilegivestranslationsinonelanguage.
ThefilesthatholdtheactualtranslationsarenotmadeintheDesigner.Theycanbemadeinanytrans-
lationtoolthatacceptsa.potfileasinput,andoutputs.pofiles.
l
The.pot fileisexportedfromthe"Translationspane"onpage986intheDesigner.Thefilecon-
tainsalistoftextsinthebaselanguage.InOLConnectthisisthelanguageinwhichthetemplate
wasoriginallywritten.(Atemplate'slanguagecanbesetviathe"LocaleSettings"onpage902
dialog.)
l
A.po fileholdstranslatedtextsforonelanguage.Each.pofilehasanentrybywhichOLCon-
nectrecognizesthetargetlanguage.
(See:"Exportingandimportingtranslationfiles"onpage861.)
Thesefiletypesarewidelyusedintranslationsoftware,soyoucanteamupwithaprofessionaltrans-
latorortranslationagencytotranslateyourtemplates,oryoucandoityourselfusingafreeonlinetool,
suchasthePoeditsoftware.
Otherwaystotranslateatemplate
Thebuilt-intranslationfeatureiseasytouseforlabelsandshorttextsinforinstanceinvoices,web
forms,transactionemailmessages,andpacklists.Itislesssuitableforlongtextslikeinsurance
Page 856