Skip to content

How to translate nested JSON content? One file, different pages content based on keys. #1667

Answered by isaachinman
rajatgraphy asked this question in Q&A
Discussion options

You must be logged in to vote

I highly suggest you do not manage your pages as nested content in a single file. It will cause all of your pages to load all of your content.

Simply write a build step script that splits each nested page1 into a dedicated JSON file, and keep managing the primary content as you already do.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by isaachinman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants