Specify and fix the language

If you have more than one language enabled for your installation you can use a parameter in the order details submission to specify the language initially used in the payment pages.

You can also use a parameter to prevent the Select Language list box being displayed in the Payment Selection page, so that shoppers cannot change the language used in the payment pages - this effectively "fixes" the language you specify.

If you have enabled shoppers to bypass the Payment Selection page, the Select Language list box usually is displayed on the Payment page. To avoid this, you need to specify a language and then fix it by hiding the list-box, as described below. For more details, please refer toBypass the Payment Selection page.

Specify the language

To specify the language for the payment pages, include the lang parameter, with its value set to a valid two-character language code, in the order details submission.

For example, to specify that the payment pages are to be initially displayed in French, include the following in the order details submission:

Copied!
<span style="font-size: 8pt;"><input type=hidden name="lang" value="fr">

The language value must be a two-character ISO language code for one of our supported languages, or for a language you have created. For more information, please refer toCreate your own language versions.

Note: If you are using standard languages, the language specified must be enabled with Languages in the Payment Page Editor. If the language has not been enabled then English is used by default.

Specify the country for the language

You can also specify the country or region for the specified language, by adding the two-character ISO-3166-2 country code to the lang parameter value.

This country code must be in upper case and the codes must be separated by a hyphen. For example, "en-GB" specifies UK English.

For a complete list of ISO-3166-2 country codes please refer to the following Internet site:

http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/index.html

Fix the language

You can use a parameter to hide Select Language box, so that shoppers cannot change the language used in the payment pages - this effectively "fixes" the language you specify.

To fix the language used in the payment pages, include the noLanguageMenu parameter, with its value set to "true", in the order details submission. Note that the value of the noLanguageMenu parameter can also be left empty - a null value defaults to "true".

For example, include the following in the order details submission:

Copied!
<input type=hidden name="noLanguageMenu" value="true">

To enable display of the Select Language box, set the value to "false" or ensure that the noLanguageMenu parameter is not included in the order details submission.