Aller au contenu
This is an unmaintained snapshot of the Astro v5 docs. View the latest docs.

Le chemin ne contient aucun paramètre régional

i18nNoLocaleFoundInPath: You tried to use an i18n utility on a path that doesn’t contain any locale. You can use pathHasLocale first to determine if the path has a locale.

Un utilitaire i18n a essayé d’utiliser les paramètres régionaux à partir d’un chemin d’URL qui n’en contient pas. Vous pouvez éviter cette erreur en utilisant pathHasLocale pour vérifier si les URL contiennent des paramètres régionaux avant d’utiliser les utilitaires i18n.

Contribuer Communauté Parrainer