Welcome to Zuora Product Documentation

Explore our rich library of product information

Translate Payment Pages 2.0

Edit the Resource Bundle Template to translate texts and labels for the hosted payment page, ensuring correct encoding for specific European languages.

After you download the Resource Bundle Template, edit the file to provide translations for the texts and labels on the hosted payment page:

  1. Open the downloaded Resource Bundle Template file, resource_bundle_template.txt , in a text editor, and type the translated labels and texts for the keys. See the table below for descriptions of the keys.
    Note: Do not remove any code lines from the Resource Bundle Template file.
  2. Save the resource file with a clearly identifiable locale name, such as resource_bundle_fr.txt for the French translation file. Use UTF-8 encoding, except for the following European languages, which require ISO-8859-1 encoding to correctly display the Payment Page form in their locales:
    • French

    • Canadian French

    • Italian

The following keys are available in the Resource Bundle Template for translation in all types of Payment Pages. There is a specific set of keys for each payment method type of Payment Pages.

Key

Description

page.label.required

Legend text for the required field mark

page.title

Payment Pages 2.0 form title

page.desc

Payment Pages 2.0 form description

page.selectOne

Instruction text for the credit card expiration date pull-down menu

page.label.submit

Label for the submit button

page.message.requiredField

Error message for missing required fields

page.message.creditCard.blacklistedBin

Error message for an invalid card prefix string defining cards that cannot be added

page.message.creditCard.cityBlocked

Error message for an invalid city

page.message.creditCardNumber.invalidCreditCard

Error message for an invalid credit card number

page.message.creditCardType.invalidCreditCardType

Error message for an invalid credit card type

page.message.creditCardType.invalidCreditCardCVV

Error message for an invalid CVV

creditCardExpirationDate

Expiring date of the label

creditCardExpirationMonth

Expiring month of the label

creditCardExpirationYear

Expiring year of the label

Here is a sample resource file translated into French:

FrenchResourceFile.png