Skip to main content
PayNext automatically translates the checkout form into the following languages. You don’t need to customize it, as we have adapted our checkout. However, if you’d like, you can override it manually.

Supported Locales

The PayNext SDK supports multiple locales for internationalization with automatic translations:
All locale codes follow ISO 639-1 standards. Ukrainian uses ua as the locale code while maintaining ISO 639-1 compliance with uk for the language identifier.

Locale Detection

Automatic Detection

The PayNext SDK automatically detects the user’s locale from browser settings:
Configure the locale property (and any overrides) on the object you pass into checkout.mount('element-id', { ...config }) after instantiating PayNextCheckout(), following the pattern in Mount the Checkout.
auto-detection component
Refer to Mount the Checkout for the complete mounting flow.

Optional Manual Override

If you need to override automatic detection, you can specify a locale:
manual-locale component
Refer to Mount the Checkout for the complete mounting flow.

Right-to-Left (RTL) Support

The PayNext SDK automatically handles RTL layout for the Arabic locale:
rtl-support component
Refer to Mount the Checkout for the complete mounting flow.
RTL layout is automatically applied for the Arabic locale. No additional configuration is needed.

Locale Fallback

When a locale is not supported or fails to load:
locale-fallback component
Refer to Mount the Checkout for the complete mounting flow.
The PayNext SDK automatically falls back to English (en) if the specified locale is not supported or fails to load.