---
import { getLocaleByPath } from "astro:i18n";
---

<p>Locale: {getLocaleByPath("en")}</p> <!-- will log "en" -->
<p>Locale: {getLocaleByPath("fr")}</p> <!-- will log "fr" -->
<p>Locale: {getLocaleByPath("portugues")}</p> <!-- will log "pt-AO" -->
