# Localized Page Alternate Packager Local source edition 1.0.0. Generate reciprocal hreflang head tags for localized pages and download a page-by-page installation map with optional x-default fallbacks. ## Run locally Extract the complete ZIP. Use Python 3.12 from a terminal in the extracted directory. Create a virtual environment and activate it, then run: python -m pip install -r requirements.txt python run.py example.json results Use a new output folder for each run. Start with example.json and replace its synthetic values with your own data. Preserve field names, types and units. Files and reports are processed on your computer. ## Inputs Supply up to 250 groups with unique id, 1–12 versions (locale and absolute page url), and optional fallback URL. Use a two-letter language, optional four-letter script, and optional two-letter country. Each group needs at least two different public page URLs. A fallback can share a language URL. Maximum 1000 distinct pages. Use identical URL spelling throughout. ## Results Extract HEADS.zip and use INSTALL.csv to insert the assigned fragment inside each listed HTML head. Each fragment includes the full group, including self-links. URLs must come from your intended canonical page map. Review the deployed pages after installation. The results folder includes summary.json and the output files produced by this input. The sample produces: HEADS.zip, INSTALL.csv. ## Español · Generador de enlaces hreflang Genera etiquetas recíprocas para páginas traducidas y una tabla de instalación por URL. Extrae el ZIP completo y abre una terminal en esa carpeta con Python 3.12. Crea y activa un entorno virtual e instala las dependencias con el comando anterior. Ejecuta: python run.py example.json resultados Copia example.json para preparar tus datos. Conserva los nombres y tipos de los campos, usa una carpeta de salida nueva y consulta summary.json junto con los archivos generados. La descripción detallada de los campos está en inglés. The included LICENSE covers use and modification for your own personal and commercial projects. This edition includes its source and can run locally after setup.