Call PayPal to pay, language value toggle

Source: Internet
Author: User
Tags locale

PayPal is now paid last night, but the problem is that the PayPal payment interface that is invoked does not switch to Simplified Chinese as the machine language is switched, but does not meet the business requirements.

In general, the pages we request are:

<form name= "Punchout_form" method= "post" action= "Https://www.paypal.com/cgi-bin/webscr?" >

. . .

</form>

Now we just need to add the fields

Locale.x=de_de//de_de represents the international language code value

Increase the language value after the request is:

<form name= "Punchout_form" method= "post" action= "Https://www.paypal.com/cgi-bin/webscr?locale.x=de_DE" >

. . .

</form>

After querying the document, PayPal can support switching in more than 10 languages such as:

The PayPal Payment page displays the language settings. PayPal supports countries as shown below , and other languages are automatically converted to English

Code:

L Au–australia

L At–austria

L Be–belgium

L Br–brazil

L Ca–canada

L Ch–switzerland

L Cn–china

L De–germany

L Es–spain

L GB--kingdom

L Fr–france

L It–italy

L Nl–netherlands

L Pl–poland

L Pt–portugal

L US--states

L HK--HongKong

Need to correspond to internationalized files:

Ja_jp, Es_pe, en, JA_JP_JP, Es_pa, Sr_ba, MK, ES_GT, Ar_ae, No_no, Sq_al, BG, Ar_iq, Ar_ye, Hu, Pt_pt, El _cy, Ar_qa, MK_MK, SV, De_ch, en_US, Fi_fi, is, CS, EN_MT, Sl_si, Sk_sk, it, tr_tr, zh, th, Ar_sa, no, EN_GB, Sr_cs, LT, R O, En_nz, No_no_ny, Lt_lt, Es_ni, NL, Ga_ie, Fr_be, Es_es, ar_lb, Ko, Fr_ca, Et_ee, ar_kw, Sr_rs, Es_us, Es_mx, AR_SD, In_ ID, Ru, LV, Es_uy, LV_LV, IW, Pt_br, Ar_sy, HR, ET, ES_DO, Fr_ch, hi_in, Es_ve, Ar_bh, en_ph, Ar_tn, FI, De_at, es, NL_NL, Es_ec, ZH_TW, Ar_jo, be, is_is, Es_co, ES_CR, ES_CL, Ar_eg, En_za, th_th, El_gr, IT_IT, CA, Hu_hu, FR, En_ie, Uk_ua, Pl_P L, Fr_lu, Nl_be, en_in, Ca_es, Ar_ma, Es_bo, En_au, Sr, Zh_sg, PT, UK, ES_SV, Ru_ru, Ko_kr, VI, Ar_dz, VI_VN, Sr_me, Sq, a R_ly, AR, ZH_CN, be_by, Zh_hk, JA, Iw_il, BG_BG, in, MT_MT, Es_py, SL, fr_fr, Cs_cz, It_ch, Ro_ro, ES_PR, En_ca, De_de, GA , De_lu, DE, Es_ar, SK, Ms_my, hr_hr, En_sg, DA, MT, PL, Ar_om, tr, th_th_th, El, MS, Sv_se, DA_DK, Es_hn

Call PayPal to pay, language value toggle

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.