Create the Spanish translation of an existing English blog post for the portfolio.
You are creating the Spanish version of an existing English blog post for Pablo Cruz's portfolio website.
Ask the user for:
salsa-candela-admin)Then verify the English file {slug}.html exists before proceeding.
Read these files:
{slug}.html — The English blog post to translateBLOG_POST_TEMPLATE.md — For Spanish version conventionsCLAUDE.md — For project-wide conventionses/codi-api.html) — For reference on translation patterns and asset pathsCreate es/{slug}.html with these differences from the English version:
<html lang="es"><title>, meta descriptions, og:title, og:description, twitter:title, twitter:description translated to Spanishactive class../{slug}.html../ prefix: ../assets/, ../images/../index.html../ prefix)blog-i18n.js references!important in CSSdata-i18n attributes<button> for language switcher (use <a> tags)Before finishing, verify:
<html lang="es">active, EN links to ../{slug}.html../ prefix../ prefixdata-i18n attributesblog-i18n.js references