Replies: 2 comments 8 replies
-
Can you provide more details about the "why" you want this change. What's the thing you're trying to achieve? |
Beta Was this translation helpful? Give feedback.
5 replies
-
I hate to be the person doing this but, can we get an answer from the next team? @timneutkens @Timer |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature request
Right now (trying out official i18n support) I'm using a custom
_document
file to load the translations files I need and making some small changes into the generated document so this data can be rehydrated on the client.I was expecting the selected locale to be part of the
DocumentContext
passed to this custom document'sgetInitialProps
but it's not there.Describe the solution you'd like
Pass the selected locale (and possibly any i18n config data) to the custom document's
getInitialProps
.Beta Was this translation helpful? Give feedback.
All reactions