Zum Inhalt springen
Nuxt i18n

Nuxt‑i18n‑Integration

Vollständiger Nuxt‑3‑Support mit Auto‑Imports, SSR und Nitro‑Kompatibilität.

Features

Native Nuxt‑3‑Modul
Auto‑Import für Composables
SEO‑Utilities (useHead, useSeoMeta)
Locale‑basiertes Routing
Lazy Loading für Locales
Voller SSR‑Support
Integration in Nuxt DevTools
Support für Nitro‑Server
Support für hybrides Rendering

Schnellstart

Fügen Sie i18n mit dem Modul zu Ihrer Nuxt‑App hinzu.

// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@better-i18n/nuxt'],
  betterI18n: {
    project: 'my-org/my-project',
    defaultLocale: 'en',
    locales: ['en', 'tr', 'de']
  }
})

// pages/index.vue
<script setup>
const { t } = useI18n()
</script>

<template>
  <h1>{{ t('welcome') }}</h1>
</template>

Mit Nuxt‑i18n loslegen

Kostenloser Tarif verfügbar. Keine Kreditkarte erforderlich.