Selecting a different language
You can customize the language of the payment pages.
Populate vads_language with one the values presented in the table below.
Language | ISO 639-1 standard |
---|---|
German | de |
English | en |
Chinese | zh |
Spanish | es |
French | fr |
Italian | it |
Japanese | ja |
Dutch | nl |
Polish | pl |
Portuguese | pt |
Russian | ru |
Swedish | sv |
Turkish | tr |
- If the value of the vads_language field is wrong, the form will be rejected.
- If the field has not been sent or is empty, the payment page will be shown in the language of the buyer’s browser.
- The buyer will be able to change the language anytime by using the language selector in the top right corner of the payment page.
Example of a payment form with a list of available languages:
<form method="POST" action="https://secure.lyra.com/vads-payment/"> <input type="hidden" name="vads_action_mode" value="INTERACTIVE" /> <input type="hidden" name="vads_amount" value="3000" /> <input type="hidden" name="vads_capture_delay" value="0" /> <input type="hidden" name="vads_ctx_mode" value="PRODUCTION" /> <input type="hidden" name="vads_currency" value="978" /> <input type="hidden" name="vads_language" value="fr" /> <input type="hidden" name="vads_page_action" value="PAYMENT" /> <input type="hidden" name="vads_payment_config" value="SINGLE" /> <input type="hidden" name="vads_site_id" value="12345678" /> <input type="hidden" name="vads_trans_date" value="20190626101407" /> <input type="hidden" name="vads_trans_id" value="239848" /> <input type="hidden" name="vads_version" value="V2" /> <input type="hidden" name="signature" value="PAMdHJ8FJc2CqUJLXQLxz+e77K4k1YGJmI5mHqGN74g="/> <input type="submit" name="pay" value="Pay"/> </form>