Check out my new blog about building websites, host your own website and email server, and more under blog.lpj.app
Next.JS translation template

Next.JS translation template

The Next.js Translation Template is a ready-to-use starter for multilingual web applications. It integrates a lightweight translation system based on React Context and hooks, without external libraries. Translations are defined as plain TypeScript objects and can be extended with additional languages or keys. A global LanguageProvider makes them available across the app, while the useLanguage hook provides access to the current language, switching functionality, and a translation function. This approach keeps the setup simple, modular, and easy to maintain, while supporting scalable language switching.