<script setup lang="ts">
const { locale, locales, matrixPath } = useContent()
const candidates = computed(() => locales.filter(l => l !== locale.value))
</script>

<template>
  <NuxtLink v-for="candidate in candidates" :key="candidate" :to="matrixPath({locale: candidate})">
    {{ candidate.toUpperCase() }}
  </NuxtLink>
</template>
