Choose one canonical locale URL shape, preferably `/en/about` and `/fr/about`, and migrate every page to it. Use `middleware.ts` for detection and redirects, `app/[lang]/` for App Router locale segments, and one consistent locale source of truth. Update links and canonical/`hreflang` metadata so shared links resolve predictably; do not mix locale prefixes and suffixes across routes.
Installs into .claude/skills of the current project.
Are you the author of Nextjs I18n?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-nextjs-i18n-a017ce4e)
Choose one canonical locale URL shape, preferably `/en/about` and `/fr/about`, and migrate every page to it. Use `middleware.ts` for detection and redirects, `app/[lang]/` for App Router locale segments, and one consistent locale source of truth. Update links and canonical/`hreflang` metadata so shared links resolve predictably; do not mix locale prefixes and suffixes across routes.