After you create a new style sheet for the selected document
type and the print template, you can customize the new style sheet
for different locales.
About this task
You
can add, modify or delete elements of the XSL as required. However,
to customize the date and numeric values, you must use the following
functions in the XSL:
- formatDate($localeCode,$Date): Formats the date
per locale. For example, to localize the Proposal Date, use formatDate($localeCode,$proposalDate)
- formatNumber($localeCode,$number): Formats the
number per locale. This is useful in defining locale specific decimal
separators that are used in numeric values. For example, to localize
the order quantity, use formatNumber($localeCode,$orderQuantity)
Note: Each style sheet must correspond to a unique locale.
For example, a ’German’ locale can consist of only one style sheet
for ’German’.
To create a locale specific style sheet,
perform the following steps: