--- createdAt: 2026-03-23 updatedAt: 2026-09-27 priority: 9 title: "Vite + Vanilla JS i18n: Complete Translation Guide" description: "Set up Intlayer in a Vite app without a framework: translate the DOM, switch locales and keep typed content in .content files." keywords: - Internationalization - Documentation - Intlayer - Vite - Vanilla JS - JavaScript - TypeScript - HTML slugs: - doc - environment - vite-and-vanilla applicationTemplate: https://github.com/aymericzip/intlayer-vite-vanilla-template applicationShowcase: https://intlayer-vite-vanilla.vercel.app history: - version: 8.9.0 date: 2026-05-04 changes: "Update Solid useIntlayer API usage to direct property access" - version: 8.4.10 date: 2026-03-23 changes: "Initial history" author: aymericzip --- # Translate your Vite and Vanilla JS website using Intlayer