Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[alternativeLinks] Alternative links is not added to the header #1516

Closed
3 tasks done
dimylkas opened this issue Nov 5, 2024 · 2 comments
Closed
3 tasks done

[alternativeLinks] Alternative links is not added to the header #1516

dimylkas opened this issue Nov 5, 2024 · 2 comments
Labels
bug Something isn't working unconfirmed Needs triage.

Comments

@dimylkas
Copy link

dimylkas commented Nov 5, 2024

Description

Alternative links is not added to the header

Verifications

Mandatory reproduction URL

https://next-intl-example-app-router.vercel.app/en

Reproduction description

Steps to reproduce:
Build site
Open - and check the links

`import { defineRouting } from "next-intl/routing";

const locales = ["en", "de", "fr", "pt", "es", "ru", "it", "pl", "nl", "ro", "ua", "sr", "hr"] as const;

export const defaultLocale = "en";

export const routing = defineRouting({
locales,
defaultLocale,
localePrefix: {
mode: "as-needed",
},
});
`

Expected behaviour

Alternative links are added to the header as described here https://next-intl-docs.vercel.app/docs/routing#alternate-links

@dimylkas dimylkas added bug Something isn't working unconfirmed Needs triage. labels Nov 5, 2024
@khnn
Copy link

khnn commented Nov 7, 2024

Maybe connected? #1442

@amannn
Copy link
Owner

amannn commented Nov 7, 2024

This is working as expected:

Screenshot 2024-11-07 at 11 14 53

You might have to hard reload without the browser cache to get all response headers from the Vercel deployment.

@amannn amannn closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed Needs triage.
Projects
None yet
Development

No branches or pull requests

3 participants