Skip to content
comhon-project edited this page Jan 4, 2026 · 3 revisions

query-kit manage internationalization and support following langages :

  • english (en)
  • chinese (zh)
  • hindi (hi)
  • spanish (es)
  • arabic (ar)
  • french (fr)
  • bengali (bn)
  • portuguese (pt)
  • russian (ru)
  • japanese (ja)
  • german (de)

You can define your default language from the plugin config. and you can change the current locale at any time.

Example:

<script setup>
import { locale } from "@query-kit/vue";
</script>

<template>
  <button @click="() => (locale = 'fr')"> french </button>
  <button @click="() => (locale = 'en')"> english </button>
  <button @click="() => (locale = 'es')"> spanish </button>
</template>

Clone this wiki locally