The Ayuntamiento de Zongolica platform supports three languages to serve its diverse user base:
Español (es)
Default languagePrimary language for citizens and Spanish-speaking visitors
English (en)
International supportFor foreign tourists and English-speaking visitors
Náhuatl (nah-MX)
Indigenous languagePreserving the cultural heritage of Zongolica’s Nahuatl-speaking community
Nahuatl (Náhuatl) is an indigenous language spoken by a significant portion of Zongolica’s population, making it essential for inclusive government communication.
{ "SEO_TITLE": "Revive el Xochitlallis 2026 · Zongolica", "SEO_DESCRIPTION": "Revive los mejores momentos del Xochitlallis 2026 en Zongolica. Galería de fotos, reels y la esencia de esta ceremonia nahua.", "BACK_TO_PORTAL": "Volver al portal", "HERO_EYEBROW": "Revive Xochitlallis 2026", "HERO_TITLE": "Gracias por ser parte del", "HERO_TITLE_EMPH": "Xochitlallis 2026.", "HERO_LEAD": "El 5 y 6 de marzo Zongolica vibró con la ceremonia nahua milenaria de agradecimiento a la Madre Tierra.", "STAT_ENTRY_VALUE": "Libre", "STAT_DATE_VALUE": "5 y 6 de marzo", "STAT_VENUE_VALUE": "Parque Juan Moctezuma y Cortés", "CTA_PRIMARY": "VER GALERÍA", "GALLERY_TITLE": "Los mejores momentos del Xochitlallis 2026"}
English (en.json):
src/i18n/xochitlanis/en.json
{ "SEO_TITLE": "Relive Xochitlallis 2026 · Zongolica", "SEO_DESCRIPTION": "Relive the best moments of Xochitlallis 2026 in Zongolica. Photo gallery, reels and the essence of this Nahua ceremony.", "BACK_TO_PORTAL": "Back to portal", "HERO_EYEBROW": "Relive Xochitlallis 2026", "HERO_TITLE": "Thank you for being part of", "HERO_TITLE_EMPH": "Xochitlallis 2026.", "HERO_LEAD": "On March 5 and 6, Zongolica vibrated with the ancient Nahua ceremony of gratitude to Mother Earth.", "STAT_ENTRY_VALUE": "Free", "STAT_DATE_VALUE": "March 5-6", "STAT_VENUE_VALUE": "Juan Moctezuma y Cortés Park", "CTA_PRIMARY": "VIEW GALLERY", "GALLERY_TITLE": "The best moments of Xochitlallis 2026"}
Nahuatl (nah-MX.json):
src/i18n/xochitlanis/nah-MX.json
{ "SEO_TITLE": "Xochitlallis 2026 · Zongolica", "SEO_DESCRIPTION": "Nochi tlakatok ipan Xochitlallis 2026 Zongolica. Galeria, video wan ceremonia nahua.", "BACK_TO_PORTAL": "Occepa portal", "HERO_EYEBROW": "Xochitlallis 2026", "HERO_TITLE": "Tlazohcamati pampa", "HERO_TITLE_EMPH": "Xochitlallis 2026.", "HERO_LEAD": "Ipan marzo 5 wan 6, Zongolica kipia ceremonia nahua para tlazohcamati Tonantzin Tlalli.", "STAT_ENTRY_VALUE": "Amo tlaxtlahuilli", "STAT_DATE_VALUE": "Marzo 5 wan 6", "STAT_VENUE_VALUE": "Parque Juan Moctezuma wan Cortés", "CTA_PRIMARY": "GALERIA", "GALLERY_TITLE": "Nochi tlakatok Xochitlallis 2026"}
Nahuatl translations should be reviewed by native speakers to ensure cultural accuracy and proper usage.
{ "SEO_TITLE": "Page title for search engines", "SEO_DESCRIPTION": "Meta description for SEO", "OG_TITLE": "Open Graph title for social sharing", "OG_DESCRIPTION": "Open Graph description"}
---import Layout from "@/layouts/Layout.astro";import t from "@/i18n/gobierno/en.json";---<Layout title={t.PAGE_TITLE} description={t.PAGE_DESCRIPTION} lang="en"> <h1>{t.PAGE_TITLE}</h1> <!-- Use t.* for all strings --></Layout>
---const { currentLocale } = Astro;// Fallback to Spanish if translation doesn't existlet t;try { t = await import(`@/i18n/gobierno/${currentLocale}.json`);} catch { t = await import(`@/i18n/gobierno/es.json`); // Optionally show a notice}---{currentLocale !== 'es' && ( <div class="translation-notice"> 🌐 This page is not yet available in {currentLocale}. Showing Spanish version. </div>)}