Advice for global translations

default discord avatar
last year
1 1

I'm migrating a website from Wordpress to nextjs/paylaodcms and I have tons of "global translations" - e.g. header/footer/buttons/contact phone numbers/... - components are not part of any collection.

My approach would be to create a collection, called Translations with a unique name e.g. and I fetch that on each nextpage and pass it to a context.

My question is - is there a better advice / strategy?

Open the post
Continue the discussion in GitHub
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.