The CurrencyCulture parameter overrides the default currency formatting with a language-region culture code, such as en-US or de-DE. Use it in Word templates when currency values must follow regional formatting standards.

You can use up to five currency cultures at the same time (CurrencyCulture1, CurrencyCulture2 and so on), which is useful for multi-currency templates and region-specific documents.

Syntax

It has two parts. Define the culture as an Other Parameter on the solution:

Parameter Name:  CurrencyCulture1
Parameter Value: de-DE

Docs Made Easy adds each Other Parameter to the solution's button URL (see Parameters explained), where it reads:

&CurrencyCulture1=de-DE

Then reference it in a merge field in your template:

{{FieldName \# CurrencyCulture1}}

Values

PartValueEffect
Parameter nameCurrencyCulture1 to CurrencyCulture5Names the culture, so the template can reference it. Up to five at the same time.
Parameter valueA culture code from the culture codes table, for example en-US or it-ITFormats the currency value for that language and region.
Template switch\# CurrencyCulture1 after a fieldApplies that culture to the field.

Without a currency culture, the \# Currency format uses your org's locale. See Currency format.

Where to add it

  1. On your solution's Assign Behaviors page, click Other Parameter in the sidebar, then click Add Other Parameter.

  2. Enter CurrencyCulture1 in Parameter Name and a culture code in Parameter Value. To add another culture, click Add Row and enter CurrencyCulture2. Click Save.

    Add Other Parameter window with CurrencyCulture1 set to it-IT and CurrencyCulture2 set to en-US

  3. In your Word template, add \# CurrencyCulture1 after the field name, for example {{TotalPrice \# CurrencyCulture1}}.

Example

Input: an opportunity with line items, and CurrencyCulture1 defined on the solution (the screenshot uses it-IT).

Template table:

NameQuantityTotal price
{{TableStart:Opportunity.r.OpportunityLineItems}}{{Name}}{{Quantity}}{{TotalPrice \# CurrencyCulture1}}{{TableEnd:Opportunity.r.OpportunityLineItems}}

Output: one row per line item, with each total price in the currency format of the CurrencyCulture1 culture. For example, with CurrencyCulture1=en-US, a total price of 10000 shows as $10,000.00.

Generated table with total prices formatted using the CurrencyCulture1 culture

Works in

Word (DOCX) templates: the example on this page is a Word template. CurrencyCulture is available in Basic and Pro.

Notes

  • Without a currency culture, the Currency format uses your org's locale. See Currency format.
  • To total a currency column with the same formatting, use AUTOSUM(ABOVE).
  • For regional separators without a currency symbol, use NumberCulture.

Culture codes

Language (country/region)Culture code
Afrikaans (South Africa)af-ZA
Albanian (Albania)sq-AL
Amharic (Ethiopia)am-ET
Arabic (Algeria)ar-DZ
Arabic (Bahrain)ar-BH
Arabic (Egypt)ar-EG
Arabic (Iraq)ar-IQ
Arabic (Jordan)ar-JO
Arabic (Kuwait)ar-KW
Arabic (Lebanon)ar-LB
Arabic (Libya)ar-LY
Arabic (Morocco)ar-MA
Arabic (Oman)ar-OM
Arabic (Qatar)ar-QA
Arabic (Saudi Arabia)ar-SA
Arabic (Syria)ar-SY
Arabic (Tunisia)ar-TN
Arabic (U.A.E.)ar-AE
Arabic (Yemen)ar-YE
Armenian (Armenia)hy-AM
Assamese (India)as-IN
Basque (Basque)eu-ES
Bashkir (Russia)ba-RU
Bengali (Bangladesh)bn-BD
Bengali (India)bn-IN
Belarusian (Belarus)be-BY
Breton (France)br-FR
Bulgarian (Bulgaria)bg-BG
Catalan (Catalan)ca-ES
Chinese (Hong Kong S.A.R.)zh-HK
Chinese (Macao S.A.R.)zh-MO
Chinese (People's Republic of China)zh-CN
Chinese (Singapore)zh-SG
Chinese (Taiwan)zh-TW
Corsican (France)co-FR
Croatian (Croatia)hr-HR
Croatian (Latin) (Bosnia and Herzegovina)hr-BA
Czech (Czech Republic)cs-CZ
Danish (Denmark)da-DK
Dari (Afghanistan)prs-AF
Divehi (Maldives)dv-MV
Dutch (Belgium)nl-BE
Dutch (Netherlands)nl-NL
English (Australia)en-AU
English (Belize)en-BZ
English (Canada)en-CA
English (Caribbean)en-CB
English (India)en-IN
English (Ireland)en-IE
English (Jamaica)en-JM
English (Malaysia)en-MY
English (New Zealand)en-NZ
English (Republic of the Philippines)en-PH
English (Singapore)en-SG
English (South Africa)en-ZA
English (Trinidad and Tobago)en-TT
English (United Kingdom)en-GB
English (United States)en-US
English (Zimbabwe)en-ZW
Faroese (Faroe Islands)fo-FO
Finnish (Finland)fi-FI
French (Belgium)fr-BE
French (Canada)fr-CA
French (France)fr-FR
French (Luxembourg)fr-LU
French (Principality of Monaco)fr-MC
French (Switzerland)fr-CH
Frisian (Netherlands)fy-NL
Galician (Galician)gl-ES
Georgian (Georgia)ka-GE
German (Austria)de-AT
German (Germany)de-DE
German (Liechtenstein)de-LI
German (Luxembourg)de-LU
German (Switzerland)de-CH
Greek (Greece)el-GR
Gujarati (India)gu-IN
Hebrew (Israel)he-IL
Hindi (India)hi-IN
Hungarian (Hungary)hu-HU
Icelandic (Iceland)is-IS
Igbo (Nigeria)ig-NG
Indonesian (Indonesia)id-ID
Irish (Ireland)ga-IE
isiXhosa (South Africa)xh-ZA
isiZulu (South Africa)zu-ZA
Italian (Italy)it-IT
Italian (Switzerland)it-CH
Japanese (Japan)ja-JP
Kannada (India)kn-IN
Kazakh (Kazakhstan)kk-KZ
Khmer (Cambodia)km-KH
Kinyarwanda (Rwanda)rw-RW
Kiswahili (Kenya)sw-KE
Korean (Korea)ko-KR
Kyrgyz (Kyrgyzstan)ky-KG
Lao (Lao P.D.R.)lo-LA
Latvian (Latvia)lv-LV
Lithuanian (Lithuania)lt-LT
Luxembourgish (Luxembourg)lb-LU
Maltese (Malta)mt-MT
Maori (New Zealand)mi-NZ
Malay (Brunei Darussalam)ms-BN
Malay (Malaysia)ms-MY
Malayalam (India)ml-IN
Macedonian (Former Yugoslav Republic of Macedonia)mk-MK
Nepali (Nepal)ne-NP
Norwegian, Bokmål (Norway)nb-NO
Norwegian, Nynorsk (Norway)nn-NO
Oriya (India)or-IN
Occitan (France)oc-FR
Pashto (Afghanistan)ps-AF
Persian (Iran)fa-IR
Polish (Poland)pl-PL
Portuguese (Brazil)pt-BR
Portuguese (Portugal)pt-PT
Punjabi (India)pa-IN
Romanian (Romania)ro-RO
Romansh (Switzerland)rm-CH
Russian (Russia)ru-RU
Sami (Northern) (Finland)se-FI
Sami (Northern) (Norway)se-NO
Sami (Northern) (Sweden)se-SE
Sanskrit (India)sa-IN
Setswana (South Africa)tn-ZA
Sinhala (Sri Lanka)si-LK
Slovak (Slovakia)sk-SK
Slovenian (Slovenia)sl-SI
Spanish (Argentina)es-AR
Spanish (Bolivia)es-BO
Spanish (Brazil)es-BR
Spanish (Chile)es-CL
Spanish (Colombia)es-CO
Spanish (Costa Rica)es-CR
Spanish (Dominican Republic)es-DO
Spanish (Ecuador)es-EC
Spanish (El Salvador)es-SV
Spanish (Guatemala)es-GT
Spanish (Honduras)es-HN
Spanish (Mexico)es-MX
Spanish (Nicaragua)es-NI
Spanish (Panama)es-PA
Spanish (Paraguay)es-PY
Spanish (Peru)es-PE
Spanish (Puerto Rico)es-PR
Tamil (India)ta-IN
Tatar (Russia)tt-RU
Telugu (India)te-IN
Thai (Thailand)th-TH
Tibetan (People's Republic of China)bo-CN
Turkish (Turkey)tr-TR
Turkmen (Turkmenistan)tk-TM
Uighur (People's Republic of China)ug-CN
Ukrainian (Ukraine)uk-UA
Urdu (Islamic Republic of Pakistan)ur-PK
Vietnamese (Vietnam)vi-VN
Welsh (United Kingdom)cy-GB
Wolof (Senegal)wo-SN
Yi (People's Republic of China)ii-CN
Yoruba (Nigeria)yo-NG

Common errors