#next-translate
1 messages · Page 1 of 1 (latest)
I apologize, but I don't have enough specific information about next-translate in the provided knowledge sources to answer your question accurately. The knowledge sources primarily focus on Next.js's built-in internationalization features rather than the next-translate library.
However, I can provide some general guidance based on Next.js internationalization practices:
-
Typically, locales are configured in the
next.config.jsfile as shown here (https://nextjs.org/docs/pages/building-your-application/routing/internationalization#getting-started). -
The structure of the locales folder can vary depending on the specific internationalization setup, but it's common to have language-specific folders (like
en/andar/) containing JSON files for different namespaces (likecommon.json). -
The root directory is a common place for the locales folder, but this can be configured differently in some setups.
If you're using next-translate and experiencing issues, I'd recommend checking their official documentation or GitHub repository for the correct setup and usage, as it may differ from Next.js's built-in i18n features.