QuiiBz / next-international

Type-safe internationalization (i18n) for Next.js
https://next-international.vercel.app
MIT License
1.26k stars 59 forks source link

a question : if i have large translation...does all translation load for all pages? #180

Closed zakidze closed 12 months ago

zakidze commented 12 months ago

if i have translation...does all translation load for all pages?

example i m at landing page does about translation get loaded?????

QuiiBz commented 12 months ago

I'm not sure to understand correctly your question, but to explain a bit:

zakidze commented 12 months ago

say i have 4 pages in my app landing page about page contact page marketplace page

i have both EN And DE for each pages translation tags

landingpageEn.json aboutpageEn.json marketplaceEn.json

landingpageDe.json aboutpageDe.json marketplaceDe.json

say i navigate to landing page does about.json and marketplace get loaded (they are not neccsary to load)?

anathor question are thoes translation at request time or build time?????