You are here:
Sections in a Locale Contract
This table describes the elements in the locale contract XML files.
Required Editions
| Available in: Enterprise, Performance, and Unlimited Editions |
| Section Name | Description | Sample Syntax |
|---|---|---|
| Locale language | Defines the language used within the locale contract. | For German locale, <Locale language="de"
languageCode="de"> |
| Framework | Defines the IDs used in the Modeler Framework. For example, buttons for notifications and validation dialogs. |
<Global><!-- Visit Context Menu --> <Label
id="Complete" text="Complete" translationStatus="7" /> <Label id="Reschedule"
text="Reschedule" translationStatus="7" /> <Label id="NavigateToCustomer"
text="Navigate to Store" translationStatus="7" /> <Label id="Delete"
text="Delete" translationStatus="7" /> <Label id="Info" text="Info"
translationStatus="7" /> <Label id="Execute" text="Execute"
translationStatus="7" /> <Label id="AddImage" text="Add Image"
translationStatus="7" /></Global>
|
| Global | Defines the IDs that have the same translation across all contracts. For example, pageHeader buttons. | — |
| UserInterfaceContracts | Defines the list of labels for the UI contracts and describes each UI contract in
UserInterface. |
<UserInterfaceContracts> <UserInterface
id="ApplicationDashboardUI"> <Label id="DashboardTitle" text=""
translationStatus="7" /> <Label id="welcome" text="Welcome"
translationStatus="7" /> <Label id="agendaOverviewLabelId" text="Visit
Execution" translationStatus="7" /> <Label id="customerOverviewLabelId"
text="Customer" translationStatus="7" /> </UserInterface> <UserInterface
id="ProductGroupLookupUI"> <Label id="ProductGroupLookupTitleId" text="Product
Groups" translationStatus="7" /> <Label id="prdGroupIdLabelId" text="Prd Grp
No." translationStatus="7"
/> </UserInterface></UserInterfaceContracts>
|
| ConfirmationMessages | Defines the list of labels for the processes. The Process attribute defines the list of labels for one process. |
<ConfirmationMessages> <Process
id="Application.StartProcess"> <Label id="LoginFailed" text="Login failed.
Please check the login name and password." translationStatus="7" /> <Label
id="UserNotAuthorized" text="The user is not authorized to use this app. Relaunch
the app for using a different user." translationStatus="7"
/> </Process> <Process id="TruckLoad.ItemListTabProcess"> <Label
id="AddNotAllowedMessage" text="It is not possible to add a new product of this item
type." translationStatus="7"
/> </Process></ConfirmationMessages>s
|
| ValidationMessages | Defines the list of labels for the business object contracts and describes all business object contracts. |
<ValidationMessages> <BusinessObject
id="BoCustomer"> <Label id="CasBpaMainCustomerNameMustNotBeEmpty" text="Please
enter the name of customer." translationStatus="7" /> <Label
id="CasBpaMainContactPartnerLastNameEmpty" text="Please specify the last name for
the contact partner." translationStatus="7" /> <Label
id="CasBpaMainOpeningTimeFromGreaterTimeThru" text="Time From of opening time must
be earlier than Time Thru." translationStatus="7"
/> </BusinessObject> <BusinessObject id="BoCall"> <Label
id="CasClbRemainingOpenOrders" text="There are still open orders."
translationStatus="7" /> <Label id="CasClbNotAllMandatoryStoreSurveysAnswered"
text="Please answer all mandatory store surveys. #questions#" translationStatus="7"
/> <Label id="CasClbNotAllMandatoryPOSSurveysAnswered" text="Please answer all
mandatory POS Surveys. #questions#" translationStatus="7"
/> </BusinessObject></ValidationMessages>
|
| NavigationLabels | If a process contains a NAVIGATION action, this section assigns the labels for
the individual processes to the NAVIGATION action and adds the labels to the NavigationLabels section. |
<NavigationLabels> <Process
id="Order.PreDeliveryNavigationProcess.Startsfnavigation"> <Label
id="deliveryItems" text="Items" translationStatus="7" /> <Label
id="deliveryHeader" text="Header" translationStatus="7" /> <Label
id="deliveryNotes" text="Notes" translationStatus="7" /> </Process> <Process
id="Order.PreOrderNavigationProcess.Startsfnavigation"> <Label id="orderItems"
text="Items" translationStatus="7" /> <Label id="orderHeader" text="Header"
translationStatus="7" /> <Label id="notes" text="Notes" translationStatus="7"
/> </Process></NavigationLabels>
|
| AdvancedSearch | Defines the labels for each advanced search object. The advanced search objects are maintained in the List Object contracts. |
<AdvancedSearch> <AdvancedSearchObject
id="AsoSalesFolderCallCustomer"> <Label id="SalesFolder_Id" text="ID"
translationStatus="7" /> <Label id="SalesFolder_SloganText" text="Slogan"
translationStatus="7" /> <Label id="SalesFolder_Customer" text="Customer"
translationStatus="7" /> </AdvancedSearchObject> <AdvancedSearchObject
id="AsoFindCustomers"> <Label id="Customer_Name" text="Name"
translationStatus="7" /> <Label id="Customer_Prio" text="Priority"
translationStatus="7" /> <Label id="Customer_Overdue" text="Overdue Customer"
translationStatus="7"
/> </AdvancedSearchObject></AdvancedSearch>
|
| PrintLayouts | Specifies the new label IDs that are displayed in the printed report. Each print layout has a subsection defined by the name or ID of the print layout. |
<PrintLayouts> <PrintLayout
id="OrderConfirmationPDF"> <Label id="AddressId" text="Address:"
translationStatus="7" /> <Label id="PhoneId" text="Phone:"
translationStatus="7" /> <Label id="FaxId" text="Fax:" translationStatus="7"
/> </PrintLayout> <PrintLayout id="DirectCashInvoicePDF"> <Label
translationStatus="7" id="AddressId" text="Address:" /> <Label
translationStatus="7" id="PhoneId" text="Phone:" /> <Label
translationStatus="7" id="FaxId" text="Fax:" /> <Label translationStatus="7"
id="TINId" text="Tax Id:" /> </PrintLayout></PrintLayouts>
|
| Images | Contains all the image-related mappings. alternativeId enables the use of an alternative image for
localization. |
<Images><!--Activity Alert Images-
-> <Image id="RedIcon" alternativeId="WarningTriangle" /> <Image
id="YellowIcon" alternativeId="WarningCircle" /><!-- Task Priority Images
--> <Image id="TaskPriority_A" alternativeId="PriorityHigh" /><Image
id="TaskPriority_B" alternativeId="PriorityMedium" /> <Image id="TaskPriority_C"
alternativeId="PriorityLow" /></Images>
|
| Localizations | Localizes the date and number formats. Changes in this section affect the UI. However, the underlying data retains the formatting of the default locale. |
Did this article solve your issue?
Let us know so we can improve!

