Appendix in Astro

The appendix of the free Astro tutorial holds reference pages to keep open while you build.

What each page covers:

  • Internationalization Guide: locale folders, the i18n config, translation dictionaries, getRelativeLocaleUrl() and hreflang.
  • Astro Cheat Sheet: commands, project files, component syntax, routing, content, rendering, islands and server features on one page.
  • Troubleshooting and Glossary: common errors with their causes and fixes, and every course term in one line.

Use these pages after you have worked through the lessons, or whenever you get stuck. The Internationalization Guide shows how to publish the same site in more than one language, step by step: one folder per language, the i18n setting in the Astro config, a small dictionary of translated text, and links that point to the right language with getRelativeLocaleUrl(). The Cheat Sheet groups the syntax by topic, from commands and project files to routing, content, rendering, islands and server features. Troubleshooting and Glossary lists common error messages with their cause and fix, then explains every term used in the course in one short line.

Lessons in this section

  1. Appendix A: Internationalization Guide

    Build an Astro site in more than one language: locale folders, the i18n config, translation dictionaries, getRelativeLocaleUrl(), hreflang and fallbacks.

  2. Appendix B: Astro Cheat Sheet

    Every command, project file and piece of syntax from the course on one page: components, routing, content, rendering, islands, navigation and server features.

  3. Appendix C: Troubleshooting and Glossary

    Common Astro errors and problems with their causes and fixes, plus a one-line glossary of every term used in the course.