Relative Content

Tag Archive for next.jstransactionsnext-intl

Language switching with next-intl in Next.js affecting only current page

I’m encountering an issue with language switching in my Next.js application using next-intl. When I switch the language using next-intl, the change only affects the current page and not the rest of the pages in the application. I have set up my project structure using src directory and organizing components in src/app. How can I ensure that language changes propagate across all pages consistently? Here’s a snippet of how I’m currently handling internationalization: