feat: add support for new locales - #1746
Open
sakksham7 wants to merge 1 commit into
Open
Conversation
sakksham7
requested review from
AbhishekChorotiya,
ArushKapoorJuspay,
aritro2002 and
seekshiva
as code owners
September 2, 2026 22:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
#1745
Added localization support for 13 new languages in the payment SDK:
Each locale includes translations for all SDK UI strings — card form labels and validation error messages, billing details, bank debit terms (ACH/SEPA/BECS), payment method names, gift card flows, installments, surcharges, and payout status messages. Translations are sourced from the shared-code locale assets, with SDK-specific strings translated to match.
The new locales are registered in the locale type system, locale string mapping (with base-language fallbacks, e.g.
no/nnresolve tonb,trresolves totr-CY), and are lazy-loaded on demand like existing locales. Merchants can enable them by passing the corresponding locale code to the SDK, and browser_language/autodetection will pick them up automatically.How did you test it?
npm run re:build— all 13 new locales compile successfully with no errors or warnings introduced.Test Icelandic locale
Screen.Recording.2026-09-03.at.4.20.22.AM.mov
Checklist
npm run re:build