Like what we’re doing? Star us on GitHub!

Advice for global translations

8 months ago
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
Can't find what you're looking for?
Get help straight from the Payload team with an Enterprise License.Learn More