Locale Negotiation And Switcher Pitfalls

Use when the language of a page is chosen or switched in any framework: the order of resolution (URL prefix, stored preference, Accept-Language), best-fit versus lookup matching, redirecting only the root path, the stored-locale cookie and its attributes, a switcher that must also write the preference, hreflang and alternate links under each URL strategy, the language switcher markup and placement, a page transition during a switch, and time zone and dates between server and client.

techmefr Updated

File contents

techmefr/mentis commit f87b31aa92

Frequently asked questions

npx get-skill add techmefr/locale-negotiation-and-switcher-pitfalls