ehundu/andamio-multilingue
Multilingual starter
A complete website in Spanish and Basque, with its pages linked across languages, a selector, hreflang, and menus and texts per language.
Two languageshreflangOne feed per language
See the demo (opens in a new tab) See the code (opens in a new tab)
Create it with Composer
composer create-project ehundu/andamio-multilingue mi-sitio
You can also create it from GitHub with “Use this template”; both ways are in the guide to starting with a starter.
- languages
- 2
- pages
- 23
The starting structure of a website in more than one language, with everything that tends to be forgotten: that each page links to its translation, that search engines know which is which, that each language has its menu and its 404.
The Basque texts are examples, a starting translation: if you are going to use them, have someone who speaks Basque review them. The README explains how to add a third language.
What it brings
- One file per language, with translated addresses (
/servicios/and/eu/zerbitzuak/). - The language selector, which leads to the translation of each page, or to the home page if it has none.
- The
hreflangtags between the translations that exist, with theirx-default. - Data, texts and menus per language, a feed in each one and a 404 page in each one.
- A page that only exists in one language, to see how it behaves.