Back to Withastro

You can't use the current function with the current strategy

src/content/docs/en/reference/errors/incorrect-strategy-for-i18n.mdx

latest470 B
Original Source

import DontEditWarning from '~/components/DontEditWarning.astro'

<DontEditWarning />

IncorrectStrategyForI18n: The function FUNCTION_NAME can only be used when the i18n.routing.strategy is set to "manual".

What went wrong?

Some internationalization functions are only available when Astro's own i18n routing is disabled by the configuration setting i18n.routing: "manual".

See Also: