--- name: typo3-language-menu description: Build a TYPO3 v13+ language switcher menu that uses the `language-menu` DataProcessor, auto-redirects first-time visitors to their browser's preferred language, and persists the user's manual language choice in a cookie. Use this skill when adding or modifying a language selection menu in a TYPO3 site package — covers TypoScript configuration, Fluid template rendering, JavaScript browser-detection + cookie logic, and the hidden data-attribute bridge pattern between Fluid and JS. license: CC-BY-4.0 compatibility: Requires a TYPO3 v13+ site with configured site languages; browser-preference redirects require consent and privacy review appropriate to the project. --- # TYPO3 Language Menu ## Architecture Three layers work together: 1. **TypoScript** — `language-menu` data processor exposes `{languageMenu}` to Fluid 2. **Fluid partial** — renders the dropdown UI + a hidden `