Property Value Code enServed for ?lang=en with any region, as in en-XXTexts 197 File /v1/locales/en
Overriding a text
These are the defaults the API serves. A page that uses the Campaign Cart SDK can change any of them: set its locale to en, and give the key shown here, with its own words, in window.nextConfig.translations. A key the page leaves out keeps the default. A key with a wording variant, fields.postcode.zip_code.errors.invalid, changes that wording alone; the same key without it, fields.postcode.errors.invalid, changes the field in every country. The example gives two keys with their defaults, for a page to put its own words in their place.
< script >
window.nextConfig = {
locale: "en" ,
translations: {
en: {
"fields.email.errors.blank" : "Enter an email address" ,
"checkout.contact.title" : "Contact" ,
},
},
};
</ script >
A key can be written dotted, as here, or nested, as the file is.
Texts
Every text this language has, grouped as the file groups them. A field group lists the countries that show it; a country uses one group per field, picked by its file.
fields.country
Shown for the default layout and 91 curated countries.
Key Text fields.country.labelCountry fields.country.label_optionalCountry (optional) fields.country.errors.not_selectedSelect a country
fields.first_name
Shown for the default layout and 91 curated countries.
Key Text fields.first_name.labelFirst name fields.first_name.label_optionalFirst name (optional) fields.first_name.errors.blankEnter a first name fields.first_name.errors.invalid_charactersFirst name can only contain letters, spaces, hyphens and apostrophes fields.first_name.errors.contains_emojiFirst name can't contain emojis fields.first_name.errors.too_longFirst name must be {{max}} characters or fewer
fields.last_name
Shown for the default layout and 91 curated countries.
Key Text fields.last_name.labelLast name fields.last_name.label_optionalLast name (optional) fields.last_name.errors.blankEnter a last name fields.last_name.errors.invalid_charactersLast name can only contain letters, spaces, hyphens and apostrophes fields.last_name.errors.contains_emojiLast name can't contain emojis fields.last_name.errors.too_longLast name must be {{max}} characters or fewer
fields.email
Shown for the default layout and 91 curated countries.
Key Text fields.email.labelEmail fields.email.label_optionalEmail (optional) fields.email.errors.blankEnter an email address fields.email.errors.invalidEnter a valid email, like name@example.com fields.email.errors.contains_emojiEmail can't contain emojis fields.email.errors.too_longEmail must be {{max}} characters or fewer
fields.phone_number
Shown for the default layout and 91 curated countries.
Key Text fields.phone_number.labelPhone number fields.phone_number.label_optionalPhone number (optional) fields.phone_number.errors.blankEnter a phone number fields.phone_number.errors.invalidEnter a valid phone number, like {{example}} fields.phone_number.errors.contains_emojiPhone number can't contain emojis fields.phone_number.errors.too_longPhone number must be {{max}} characters or fewer
fields.line1
Shown for the default layout and 91 curated countries.
Key Text fields.line1.labelAddress fields.line1.label_optionalAddress (optional) fields.line1.errors.blankEnter an address fields.line1.errors.contains_emojiAddress can't contain emojis fields.line1.errors.too_longAddress must be {{max}} characters or fewer
fields.line2
Shown for the default layout and 91 curated countries.
Key Text fields.line2.labelApartment, suite, etc. fields.line2.label_optionalApartment, suite, etc. (optional) fields.line2.errors.blankEnter address line 2 fields.line2.errors.contains_emojiAddress line 2 can't contain emojis fields.line2.errors.too_longAddress line 2 must be {{max}} characters or fewer
fields.line3
Key Text fields.line3.labelAddress line 3 fields.line3.label_optionalAddress line 3 (optional) fields.line3.errors.blankEnter address line 3 fields.line3.errors.contains_emojiAddress line 3 can't contain emojis fields.line3.errors.too_longAddress line 3 must be {{max}} characters or fewer
fields.city.default
Shown for the default layout and 86 curated countries.
Key Text fields.city.default.labelCity fields.city.default.label_optionalCity (optional) fields.city.default.errors.blankEnter a city fields.city.default.errors.invalidEnter a valid city fields.city.default.errors.contains_emojiCity can't contain emojis fields.city.default.errors.too_longCity must be {{max}} characters or fewer
fields.city.district
Shown for TH.
Key Text fields.city.district.labelDistrict fields.city.district.label_optionalDistrict (optional) fields.city.district.errors.blankEnter a district fields.city.district.errors.invalidEnter a valid district fields.city.district.errors.contains_emojiDistrict can't contain emojis fields.city.district.errors.too_longDistrict must be {{max}} characters or fewer
fields.state
Key Text fields.state.placeholderChoose…
fields.state.default
Shown for the default layout and BR, IN, MX, MY, NG.
Key Text fields.state.default.labelState/province fields.state.default.label_optionalState/province (optional) fields.state.default.errors.not_selectedSelect a state or province fields.state.default.errors.blankEnter a state or province fields.state.default.errors.invalidChoose a state or province from the list fields.state.default.errors.contains_emojiState or province can't contain emojis fields.state.default.errors.too_longState or province must be {{max}} characters or fewer
fields.state.state
Shown for US.
Key Text fields.state.state.labelState fields.state.state.label_optionalState (optional) fields.state.state.errors.not_selectedSelect a state fields.state.state.errors.invalidChoose a state from the list
fields.state.state_territory
Shown for AU.
Key Text fields.state.state_territory.labelState/territory fields.state.state_territory.label_optionalState/territory (optional) fields.state.state_territory.errors.not_selectedSelect a state or territory fields.state.state_territory.errors.invalidChoose a state or territory from the list
fields.state.province
Shown for AR, CA, CN, CO, ES, ID, IT, KR, TH, ZA.
Key Text fields.state.province.labelProvince fields.state.province.label_optionalProvince (optional) fields.state.province.errors.not_selectedSelect a province fields.state.province.errors.invalidChoose a province from the list
fields.state.region
Shown for CL, HK, NZ, PE, PH, PT, RU.
Key Text fields.state.region.labelRegion fields.state.region.label_optionalRegion (optional) fields.state.region.errors.not_selectedSelect a region fields.state.region.errors.blankEnter a region fields.state.region.errors.invalidChoose a region from the list fields.state.region.errors.contains_emojiRegion can't contain emojis fields.state.region.errors.too_longRegion must be {{max}} characters or fewer
fields.state.county
Shown for IE, RO.
Key Text fields.state.county.labelCounty fields.state.county.label_optionalCounty (optional) fields.state.county.errors.not_selectedSelect a county fields.state.county.errors.invalidChoose a county from the list
fields.state.emirate
Shown for AE.
Key Text fields.state.emirate.labelEmirate fields.state.emirate.label_optionalEmirate (optional) fields.state.emirate.errors.not_selectedSelect an emirate fields.state.emirate.errors.invalidChoose an emirate from the list
fields.state.governorate
Shown for KW.
Key Text fields.state.governorate.labelGovernorate fields.state.governorate.label_optionalGovernorate (optional) fields.state.governorate.errors.not_selectedSelect a governorate fields.state.governorate.errors.invalidChoose a governorate from the list
fields.state.prefecture
Shown for JP.
Key Text fields.state.prefecture.labelPrefecture fields.state.prefecture.label_optionalPrefecture (optional) fields.state.prefecture.errors.not_selectedSelect a prefecture fields.state.prefecture.errors.invalidChoose a prefecture from the list
fields.postcode.default
Shown for the default layout and 76 curated countries.
Key Text fields.postcode.default.labelPostal code fields.postcode.default.label_optionalPostal code (optional) fields.postcode.default.errors.blankEnter a postal code fields.postcode.default.errors.invalidEnter a valid postal code, like {{example}} fields.postcode.default.errors.not_in_stateEnter a valid postal code for {{state}} fields.postcode.default.errors.contains_emojiPostal code can't contain emojis fields.postcode.default.errors.too_longPostal code must be {{max}} characters or fewer
fields.postcode.postcode
Shown for AU, GB.
Key Text fields.postcode.postcode.labelPostcode fields.postcode.postcode.label_optionalPostcode (optional) fields.postcode.postcode.errors.blankEnter a postcode fields.postcode.postcode.errors.invalidEnter a valid postcode, like {{example}} fields.postcode.postcode.errors.not_in_stateEnter a valid postcode for {{state}} fields.postcode.postcode.errors.contains_emojiPostcode can't contain emojis fields.postcode.postcode.errors.too_longPostcode must be {{max}} characters or fewer
fields.postcode.zip_code
Shown for US.
Key Text fields.postcode.zip_code.labelZIP Code fields.postcode.zip_code.label_optionalZIP Code (optional) fields.postcode.zip_code.errors.blankEnter a ZIP Code fields.postcode.zip_code.errors.invalidEnter a valid ZIP Code, like {{example}} fields.postcode.zip_code.errors.not_in_stateEnter a valid ZIP Code for {{state}} fields.postcode.zip_code.errors.contains_emojiZIP Code can't contain emojis fields.postcode.zip_code.errors.too_longZIP Code must be {{max}} characters or fewer
fields.postcode.pin_code
Shown for IN.
Key Text fields.postcode.pin_code.labelPIN code fields.postcode.pin_code.label_optionalPIN code (optional) fields.postcode.pin_code.errors.blankEnter a PIN code fields.postcode.pin_code.errors.invalidEnter a valid PIN code, like {{example}} fields.postcode.pin_code.errors.not_in_stateEnter a valid PIN code for {{state}} fields.postcode.pin_code.errors.contains_emojiPIN code can't contain emojis fields.postcode.pin_code.errors.too_longPIN code must be {{max}} characters or fewer
errors
Key Text errors.networkCouldn't load address settings. Showing a standard form.
Key Text checkout.contact.titleContact
checkout.shipping
Key Text checkout.shipping.titleShipping address
checkout.billing
Key Text checkout.billing.titleBilling address checkout.billing.same_as_shippingUse shipping address as billing address
payment.card.number
Key Text payment.card.number.labelCard number payment.card.number.placeholderCard number payment.card.number.titleEnter your card number payment.card.number.errors.blankEnter a card number payment.card.number.errors.invalidEnter a valid card number
payment.card.cvv
Key Text payment.card.cvv.labelSecurity code payment.card.cvv.placeholderCVV payment.card.cvv.titleEnter your card's security code payment.card.cvv.errors.blankEnter the security code payment.card.cvv.errors.invalidEnter a valid security code
payment.card.expiry_month
Key Text payment.card.expiry_month.labelExpiry month payment.card.expiry_month.placeholderMonth payment.card.expiry_month.errors.blankSelect an expiry month payment.card.expiry_month.errors.invalidSelect a valid expiry month payment.card.expiry_month.errors.expiredThis card has expired. Check the expiry date
payment.card.expiry_year
Key Text payment.card.expiry_year.labelExpiry year payment.card.expiry_year.placeholderYear payment.card.expiry_year.errors.blankSelect an expiry year payment.card.expiry_year.errors.invalidSelect a valid expiry year
payment.card.name
Key Text payment.card.name.labelName on card payment.card.name.errors.blankEnter the name on the card
payment.card.errors
Key Text payment.card.errors.networkCouldn't load the card form. Refresh the page and try again. payment.card.errors.session_expiredYour card details timed out. Enter them again.
payment.errors
Key Text payment.errors.2000Your card was declined. Try again or use a different card. payment.errors.2001Your card doesn't have enough funds. Use a different card. payment.errors.2002This payment is over your card's limit. Use a different card. payment.errors.2003Your card was declined. Try again or use a different card. payment.errors.2004Your bank needs you to approve this payment. Try again. payment.errors.2005We couldn't process your card. Try again. payment.errors.2006Your card couldn't be verified. Try again or use a different card. payment.errors.3000Your bank needs you to approve this payment. Try again. payment.errors.3001The billing address doesn't match your card. Check it and try again. payment.errors.3002Check your card number and try again. payment.errors.3003Check your card's security code and try again. payment.errors.3004Check your card's expiry date and try again. payment.errors.3005Check your card number and try again. payment.errors.3006Your card has expired. Use a different card. payment.errors.3007Your card was declined. Use a different card. payment.errors.3008Your card was declined. Use a different card. payment.errors.3009Your card was declined. Use a different card. payment.errors.3010Your card was declined. Use a different card. payment.errors.3011Payments aren't available right now. Try again later. payment.errors.3012Your card was declined. Use a different card. payment.errors.3013Your card was declined. Use a different card. payment.errors.3014Payments aren't available right now. Try again later. payment.errors.3015Your card was declined. Use a different card. payment.errors.3016Your card couldn't be verified. Try again or use a different card. payment.errors.3017Your card was declined. Use a different card. payment.errors.4000Your bank account can't be used for this payment. Choose another payment method. payment.errors.4001Your bank account can't be used for this payment. Choose another payment method. payment.errors.4002Your bank account can't be used for this payment. Choose another payment method. payment.errors.4003Your bank account can't be used for this payment. Choose another payment method. payment.errors.5000This payment method didn't work. Try again or choose another. payment.errors.5001This payment method didn't work. Try again or choose another. payment.errors.5003This payment method didn't work. Try again or choose another. payment.errors.5004This payment method didn't work. Try again or choose another. payment.errors.5005This payment method didn't work. Try again or choose another. payment.errors.5006Check the name on the card and try again. payment.errors.5007Payments aren't available right now. Try again later. payment.errors.5008Payments aren't available right now. Try again later. payment.errors.genericYour card couldn't be processed. Try again. payment.errors.throttledWait a moment before trying again.
coupon
Key Text coupon.appliedCoupon {{code}} applied. coupon.removedCoupon {{code}} removed.
coupon.errors
Key Text coupon.errors.already_appliedCoupon {{code}} is already applied. coupon.errors.invalidCoupon {{code}} isn't valid for this order. coupon.errors.networkCouldn't check the coupon. Try again.
PreviousDeutsch (de) Next Español (es)