Replies: 1 comment 1 reply
-
Hi @Hadjimina, what kind of difficulties are you facing with providing the messages for the |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have been playing around with next-intl for a bit now and implemented almost everything. The one area I can't get it to work is in the navigation bar that I define in the
_app.tsx
file s.t. it appears on every page and I don't have to worry about it.Any idea how I can make the translation work in the CustomNavbar component?
I can't use the approach for a normal page with
getStaticProps
since that only works on pages not in_app.tsx
.Ideally, I would not need to wrap every page individually in the CustomNavbar component.
Excerpt from
_app.tsx
:Cheers
Beta Was this translation helpful? Give feedback.
All reactions