payload-polyglot
v0.2.32
Published
A blank template to get started with Payload 3.0
Downloads
148
Readme
Payload i18n Messages Plugin
TODO add description
Background
Here is a short recap on how to integrate plugins with Payload, to learn more visit the plugin overview page.
How to install a plugin
To install any plugin, simply add it to your payload.config() in the Plugin array.
import { polyglotPlugin } from 'payload-polyglot'
export const config = buildConfig({
plugins: [
polyglotPlugin({
locales: ['en', 'de', 'es'],
schema: {},
}),
],
})Define messages
TODORequest messages
TODO