ShipEasy Docs

Framework Guides

ShipEasyI18n integrations for every major web framework — from npm packages for React and Next.js to server-side adapters for Rails, Django, and Laravel.

ShipEasyI18n works with any framework at the data-label attribute level — no package required. For deeper integration (SSR hydration safety, hooks, type-safe keys), use the framework-specific packages.

The two integration paths

Path 1: Script tag only (all frameworks)

Add the loader script to <head>, tag your strings with data-label, run i18n push. Done. This works everywhere — static HTML, PHP, Ruby templates, React, Vue, anything.

<head>
  <script src="https://cdn.i18n.shipeasy.ai/v1/loader.js" data-key="i18n_pk_..." async></script>
</head>

<button data-label="checkout.submit">Place order</button>

Path 2: Framework package (React ecosystem + server frameworks)

Install the framework package for deeper integration: SSR inline data injection (no hydration mismatch), typed t() function, React hooks, automatic chunk splitting.

npm install @i18n/next      # Next.js App Router + Pages Router
npm install @i18n/react     # React 18+ SPA
npm install @i18n/vue       # Vue 3
npm install @i18n/svelte    # Svelte / SvelteKit

Framework pages