OpenGraph (metadata) in Next Internationalization #55497
Unanswered
Minhnhat0408
asked this question in
Help
Replies: 1 comment 1 reply
-
I have the exact same issue. were you able to fix it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
so I set up my app according to Internationalization (i18n) Routing this is my folder structure:
Folder structure
It work completely fine. However it only have the metadata for the route '[lang]' ('https//examples.com/vi') or ('https//examples.com/en') but with the ('https//examples.com/') it doesn't show anything. Even if I make a layout.tsx in the 'app' directly with the metadata in it. Is there anyway to have metadata even in the ('https//examples.com/').
Note: My middleware is redirect the ('https//examples.com/') to an lang route not sure whether it the problem.
Additional information
You can find my code here Code
Example
https://pbhubmedia.vercel.app/
Beta Was this translation helpful? Give feedback.
All reactions