jcorona48 / drizzle-astro

This is a simple demonstration to explore Drizzle and Astro.
https://drizzle-astro.vercel.app/
0 stars 0 forks source link

Add i18n Support (English and Spanish) #1

Closed jcorona48 closed 1 month ago

jcorona48 commented 1 month ago

Description:
Implement internationalization (i18n) to support multiple languages, starting with English and Spanish.

Tasks:

  1. Configure an i18n library (e.g., [astro-i18next](https://github.com/yassinedoghri/astro-i18next) or similar).
  2. Create language files for English (en.json) and Spanish (es.json).
  3. Refactor components to load text dynamically based on the selected language.
  4. Add a language switcher to toggle between English and Spanish.
  5. Ensure the site’s metadata (e.g., <title>, <meta> tags) is localized.

Acceptance Criteria:

jcorona48 commented 1 month ago

Closed #5