Socket
Book a DemoInstallSign in
Socket

@godaddy/localizations

Package Overview
Dependencies
Maintainers
14
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@godaddy/localizations

Internationalization localizations for GoDaddy checkout components

latest
npmnpm
Version
1.0.5
Version published
Maintainers
14
Created
Source

@godaddy/localizations

Internationalization localizations for GoDaddy checkout components.

Installation

npm install @godaddy/localizations
# or
pnpm add @godaddy/localizations
# or  
yarn add @godaddy/localizations

Usage

import { frFr } from "@godaddy/localizations";
import { GoDaddyProvider, Checkout } from "@godaddy/react";

function App() {
  return (
    <GoDaddyProvider localization={frFr}>
      <Checkout />
    </GoDaddyProvider>
  );
}

Available Localizations

  • frFr - French (France)

Localization Structure

Each localization export contains the following sections:

  • general - General UI text (optional, notes, quantity, etc.)
  • contact - Contact form labels
  • pickup - Local pickup configuration
  • delivery - Delivery and shipping options
  • tips - Tip/gratuity options
  • shipping - Shipping address form
  • billing - Billing address form
  • payment - Payment methods and form
  • phone - Phone number input
  • discounts - Discount code functionality
  • totals - Order totals and summary
  • lineItems - Line item display
  • ui - UI component labels and accessibility text
  • errors - Error messages and validation
  • validation - Form validation messages

Contributing

To add a new localization:

  • Create a new file in src/ with the locale code (e.g., esEs.ts for Spanish)
  • Copy the structure from frFr.ts and translate all strings
  • Export the new localization in src/index.ts
  • Add documentation to this README

License

MIT

Keywords

godaddy

FAQs

Package last updated on 15 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts