Appearance
Get the current language object based on useRoot locale value. The value is a computed property, and can either be uHeadlessLanguage or undefined.
locale
computed
uHeadlessLanguage
undefined
<script setup lang="ts"> const language = await useCurrentLanguage() const isoCode = language.value?.languageISOCode </script>