The owner asked why a Portuguese link was autofolio.its-live.dev/?lang=pt-BR rather than /br. The template's path-locales work (#162) is now ported to AutoFolio.
Shipped
- Every public page has one URL per language (#201,
19160d2).- English is at the clean path, Brazilian Portuguese under
/brand German under/de: the landing,/privacy,/terms,/assistentes,/legal/privacyand their Markdown copies. Sign-in, the app, the docs and the share links keep one URL. - An old
?lang=link (alsopt-BRorde-DE) answers 301 to the path and keeps the rest of the query./en/…and/pt/…answer 301 to their one form, and an unknown prefix is a 404. - A first visit to
/from a browser goes to the visitor's language (the saved choice, then the browser languages) with a 302. Crawlers and link previews always get English at/. - Each language has its own canonical, hreflang (
pt-BR,en,de,x-default), share card and sitemap entry. The footer's language row links to the same page in each language and remembers the choice. - The languages and their slugs live in one file (
11875443). - Details: internationalization, agent pages, OG images.
- English is at the clean path, Brazilian Portuguese under