Skip to main content

Supported languages in HTML templates


Supported languages in HTML templates

Describes the supported languages in HTML templates for billing documents, including invoices, credit memos, and debit memos.


If you operate a global business with customers in multiple languages, you can create HTML templates in multiple languages. HTML templates support multibyte characters, such as Japanese, Chinese, and Russian characters.

  • Inputting multibyte characters in HTML templates are supported. 
    For example, you can input Japanese characters as field names or table header names in HTML templates. 
  • The values rendered from merge fields support multibyte characters. 
    For example, if the bill to contact addresses or charge names are in Japanese, they can be displayed correctly in generated PDF files.

HTML templates do not support the Translation Profile feature that is supported by Word templates. To dynamically generate PDF files for billing documents in HTML templates using one template, you can use custom objects to store messages based on locale, and retrieve messages per locale. For more information, see Display messages based on locales.

In addition to multiple languages, you can also define date and numeric formats based on locales. For more information see, the Localise function.

Supported languages

The language country codes are comprised of two arguments separated by an underscore, for example, fr_CA is French Canadian:

  • The first argument is a valid ISO Language Code. These codes are the lower-case two-letter codes as defined by ISO-639. 
  • The second argument to both constructors is a valid ISO Country Code. These codes are the upper-case two-letter codes as defined by ISO-3166. 

HTML templates support the following languages:

English languages

Language Code
English (United Kingdom) en-GB
English (United States) en-US

German languages

Language Code
German (Austria) de-AT
German (Germany) de-DE
German (Luxembourg) de-LU
German (Switzerland) de-CH

Chinese languages

Language Code
Chinese (PRC) zh-CN
Chinese (Singapore) zh-SG
Chinese (Taiwan) zh-TW

French languages

Language Code
French (Belgium) fr-BE
French (Canada) fr-CA
French (France) fr-FR
French (Luxembourg) fr-LU
French (Switzerland) fr-CH

Spanish languages

Language Code
Spanish (Argentina) es-AR
Spanish (Bolivia) es-BO
Spanish (Chile) es-CL
Spanish (Columbia) 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
Spanish (Spain) es-ES
Spanish (United States) es-US
Spanish (Uruguay) es-UY
Spanish (Venezuela) es-VE

Arabic languages

Language Code
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 (Sudan) ar-SD
Arabic (Syria) ar-SY
Arabic (Tunisia) ar-TN
Arabic (U.A.E.) ar-AE
Arabic (Yemen) ar-YE

Other languages

Language Code
Bulgarian (Bulgaria) bg-BG
Czech (Czech Republic) cs-CZ
Danish (Denmark) da-DK
Dutch (Belgium) nl-BE
Dutch (Netherlands) nl-NL
Estonian (Estonia) et-EE
Finnish (Finland) fi-FI
Greek (Cyprus) el-CY
Greek (Greece) el-GR
Hungarian (Hungary) hu-HU
Italian (Italy) it-IT
Italian (Switzerland) it-CH
Japanese (Japan) ja-JP
Korean (South Korea) ko-KR
Latvian (Latvia) lv-LV
Norwegian (Norway) no-NO
Polish (Poland) pl-PL
Portuguese (Brazil) pt-BR
Portuguese (Portugal) pt-PT
Romanian (Romania) ro-RO
Russian (Russia) ru-RU
Slovak (Slovakia) sk-SK
Slovenian (Slovenia) sl-SI
Swedish (Sweden) sv-SE
Thai (Thailand) th-TH
Turkish (Turkey) tr-TR