Overview
This document provides a detailed introduction to the multi-language support offered by the Oceanpayment payment page. This feature allows merchants to display the payment interface in the preferred language of their customers based on region or language preference, significantly enhancing the global user experience and improving conversion rates.

One-Stop Multi-Language Payment Solution
Oceanpayment delivers a secure and reliable multi-language payment solution, helping businesses expand effortlessly into global markets.
Supported Integrations
The payment language feature is only available for Hosted Checkout and Embedded Credit Card integrations.
Language Priority
- The default language of the Oceanpayment payment page is English.
- The page will automatically adapt to the language setting of the user's browser.
- If a language parameter is provided, it takes priority over the browser language setting.
Hosted Checkout
<input type="hidden" name="language" value="en_US" />
Embedded Integration
- Credit Card
- GooglePay
- ApplePay
<script>
$(function() {
Oceanpayment.init(' ','','en_US');
});
</script>
GooglePay payment button style reference: https://developers.google.com/pay/api/web/guides/resources/customize
<script>
$(function() {
onePageGooglePay.init(true, {
buttonStyle: {
buttonColor:'',
buttonType:'',
buttonRadius:'',
buttonSizeMode:'',
buttonLocale:''
}
});
});
</script>
ApplePay payment button style reference: https://developer.apple.com/documentation/apple_pay_on_the_web/applepaybutton
<script>
$(function() {
onePageApplePay.init(true, {
buttonStyle: {
buttonstyle:'',
type:''
}
});
});
</script>
Supported Languages
| Language Code | Language(English) | Language(Chinese) |
|---|---|---|
en;en_US | English | 英语 |
de;de_DE;de_AT;de_LI;de_LU;de_CH | German | 德语 |
fr;fr_FR;fr_BE;fr_CA;fr_LU;fr_MC;fr_CH | French | 法语 |
it;it_IT;it_CH | Italian | 意大利语 |
es;es_ES;es_AR;es_PY;es_PA;es_PR | Spanish | 西班牙语 |
pt;pt_PT;pt_BR | Portuguese | 葡萄牙语 |
ru;ru_RU;ru_MD | Russian | 俄语 |
ja;ja_JP | Japanese | 日语 |
ko;ko_KR | Korean | 韩语 |
ar;ar_sa | Arabic | 阿拉伯语 |
tr;tr_tr;tr_TR | Turkish | 土耳其语 |
zh_CN | Simplified Chinese | 简体中文 |
zh_HK | Traditional Chinese | 繁体中文 |
nb | Norway | 挪威 |
sv | Sweden | 瑞典 |
nl | Netherlands | 荷兰 |
da | Danish | 丹麦 |
fi | Finnish | 芬兰 |
pl | Polish | 波兰 |
ms | Malay | 马来语 |
th | Thai Language | 泰语 |
fil | Filipino | 菲律宾 |
id;in | Indonesian | 印尼语 |
vi | Vietnamese | 越南语 |