[Skip to main content](#vessel-content)

#   PayPal Checkout SDK v6 – Incorrect button language on Polish checkout page

##

- **[Bone](/forum/user/77721-bone "View Bone's Profile")**
- [![Bone's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/77721-bone "View Bone's Profile") Topic Author
- [ Away](/forum/user/77721-bone)

Less More

- Posts: 10
- Thank you received: 2
-
-

38 minutes ago [\#100000628](#100000628) by [Bone](/forum/user/77721-bone "View Bone's Profile")  *[PayPal Checkout SDK v6 – Incorrect button language on Polish checkout page](/forum/29-payment-methods/100000126-paypal-checkout-sdk-v6---incorrect-button-language-on-polish-checkout-page#100000628 "-- HikaShop version -- : 6.8.1 -- Joomla version -- : 6.2.0 -- PHP version -- : 8.3.36-nmm1 -- Browser(s) name and version -- : Opera  Subject: PayPal Checkout SDK v6 – Incorrect button language on Polish checkout page Hello, I've found a localization issue with the PayPal Checkout payment plugin in HikaShop Essential 6.8.1. My Joomla website is configured in Polish (  ), and the entire checkout page is correctly displayed in Polish. However, the PayPal payment button displays &quot;Pagar com PayPal&quot; (Portuguese) instead of Polish text. After inspecting the generated HTML and JavaScript, I noticed that the PayPal SDK v6 is initialized without the  parameter:  According to the official PayPal SDK v6 documentation, the locale can be explicitly specified during initialization:  Expected behavior: The PayPal Checkout plugin should pass the current Joomla frontend language to the PayPal SDK, so that the payment buttons match the language of the checkout page. For multilingual websites, the locale should be determined dynamically rather than hardcoded. Actual behavior: The plugin does not pass the locale parameter, leaving PayPal to detect the language automatically based on browser settings. This can result in payment buttons being displayed in a different language from the checkout page. Could you please consider adding automatic Joomla language detection and passing the corresponding locale to PayPal SDK v6? Thank you!")* was created by *[Bone](/forum/user/77721-bone "View Bone's Profile")*

-- HikaShop version -- : 6.8.1
-- Joomla version -- : 6.2.0
-- PHP version -- : 8.3.36-nmm1
-- Browser(s) name and version -- : Opera

**Subject: PayPal Checkout SDK v6 – Incorrect button language on Polish checkout page**
Hello,
I've found a localization issue with the PayPal Checkout payment plugin in **HikaShop Essential 6.8.1**.
My Joomla website is configured in Polish ( Code:

pl-PL

), and the entire checkout page is correctly displayed in Polish. However, the PayPal payment button displays **"Pagar com PayPal" (Portuguese)** instead of Polish text.
After inspecting the generated HTML and JavaScript, I noticed that the PayPal SDK v6 is initialized without the Code:

locale

parameter: Code:

var options = {     "coreUrl": "https://www.paypal.com/web-sdk/v6/core",     "clientId": "...",     "components": ["paypal-payments"],     "pageType": "checkout",     "partnerAttributionId": "HIKARISOFTWARE_Cart_PPCP" };

According to the official PayPal SDK v6 documentation, the locale can be explicitly specified during initialization: Code:

"locale": "pl-PL"

**Expected behavior:**
The PayPal Checkout plugin should pass the current Joomla frontend language to the PayPal SDK, so that the payment buttons match the language of the checkout page.
For multilingual websites, the locale should be determined dynamically rather than hardcoded.
**Actual behavior:**
The plugin does not pass the locale parameter, leaving PayPal to detect the language automatically based on browser settings. This can result in payment buttons being displayed in a different language from the checkout page.
Could you please consider adding automatic Joomla language detection and passing the corresponding locale to PayPal SDK v6?
Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy8xMDAwMDAxMjYtcGF5cGFsLWNoZWNrb3V0LXNkay12Ni0tLWluY29ycmVjdC1idXR0b24tbGFuZ3VhZ2Utb24tcG9saXNoLWNoZWNrb3V0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.037 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
