1,480 questions
0 votes
0 answers
27 views
Why default language doesn't redirect me to /fa?
import { defineI18n } from "fumadocs-core/i18n"; export const i18n = defineI18n({ defaultLanguage: "fa", languages: ["en", "fa", "cn"], ...
0 votes
1 answer
56 views
NextJS hydration error: React children render before async i18next changeLanguage() switch completes
Introduction Hello everyone, I have come across an issue with the nature of how NextJS handles asynchronous functions in client components that prevents me from resolving this matter further: I opted ...
0 votes
1 answer
11 views
Looking up, in app, the translation tags for self servicing i18next overrides
In our React SPA, we have 100s t('MY_TOKEN_THING_LABEL')}. We allow tenants, to specify custom translation labels if they don't prefer the stock ones. The experience is really painful; they have to ...
1 vote
0 answers
50 views
i18next not working with languages defined with dashes
Here's my code: import i18n, { type InitOptions } from 'i18next'; import { initReactI18next } from 'react-i18next'; import LanguageDetector from 'i18next-browser-languagedetector'; import ...
0 votes
0 answers
71 views
Translations re-render on page load
My translations on InertiaJS/React with i18next rerender when page fully loads, which ruins both SEO and animations. when page is initializing, first it loads the en language (even when I change the ...
2 votes
1 answer
348 views
Tailwind doesnt apply on my Next JS 15 app
I wanted to implement multilanguage support with next-intl and I changed my file structure like this: app/ favicon.ico globals.css [locale]/ layout.tsx page.tsx (root)/ ...
0 votes
0 answers
59 views
How to translate AEM Form with i18n
I'm trying to enable translations for a form, but I can't seem to "activate it". I'm following this guide: https://medium.com/@45pallavi.singh/aem-support-multilingual-adaptive-form-...
0 votes
0 answers
74 views
Hydration failed: Server rendered HTML does not match the client when using i18next in Next.js 15 with SSR
I'm building a Next.js 15.1.2 app using React 18.3.1 and I integrated i18n support with the following packages: [email protected] [email protected] [email protected] i18next-http-...
0 votes
0 answers
68 views
Hydration error after refresh due to mismatsching SSR and client translations
I'm using the following setup: Next.js: 15.1.2 React: 18.3.1 i18next: 25.2.1 next-i18next: 15.4.2 react-i18next: 15.5.3 My translations work fine on the client side, but after refreshing the page (...
0 votes
1 answer
231 views
Payload CMS UI fields with i18n, does not accept translate function
I am trying to add payloadcms/translations from payload to my cms written with payload cms and next, "@payloadcms/translations": "^3.42.0", "@payloadcms/ui": &...
0 votes
0 answers
135 views
How to handle i18n in a hybrid Next.js app using both /pages and /app directories?
I'm currently migrating a large Next.js project from the old /pages directory to the new /app directory (App Router). This migration will likely take a long time (possibly 1–2 years), so for now, I ...
0 votes
1 answer
223 views
i18n useTranslation 'expected 0 arguments but got 1' when adding namespace
I have recently had an issue incorporating namespaces to my i18n setup while switching from a one-file-per-language model to a more complex structured file model that requires the use of namespaces to ...
3 votes
3 answers
2k views
Error: Couldn't find next-intl config file. Please follow the instructions at https://next-intl.dev/docs/getting-started/app-router
I've tried making a Next.js app with localization, but I keep getting this error: Error: Couldn't find next-intl config file. Please follow the instructions at https://next-intl.dev/docs/getting-...
1 vote
1 answer
47 views
Only plain objects can be passed to Client Components from Server Components (i18next + dynamic import)
I'm working on a Next.js app with App Router and I'm implementing localization using i18next with dynamic JSON imports for translations. I'm running into the following error: Error: Only plain objects,...
1 vote
0 answers
95 views
404 Error when trying to login with Clerk in Next.js app using next-intl for internationalization
I'm building a Next.js application using Clerk for authentication and next-intl for internationalization. Everything was working fine until I tried to implement the login functionality. Now I'm ...