neuland-ingolstadt / neuland.app

A free & open source, web-based replacement for the official app of the Technische Hochschule Ingolstadt built with React and Next.js.
https://neuland.app
GNU Affero General Public License v3.0
36 stars 33 forks source link

🐛 Save user language preference #290

Closed BuildmodeOne closed 1 year ago

BuildmodeOne commented 1 year ago

🤖 Generated by Copilot at 35e2f67

Summary

🍪🌐🔗

This pull request improves the internationalization of the rogue-thi-app by refactoring the Next.js configuration and setting a language cookie. These changes enable consistent and user-friendly language switching across the app.

Oh we are the coders of the Next.js ship And we sail the web with a mighty grip _We set the next_locale cookie with a click_ And we refactor the config to make it slick

Walkthrough