ExtantApe

payload plugin polyglot

by ExtantApe
Translation
v3
^3.80.0
MIT

Overview

Summary generated from the README

Translates fields you list per collection into every configured Payload locale, on publish and through a sweep function run from cron or a script. A fingerprint and a sentence-level translation memory skip unchanged text. Languages marked as reviewed by a human are never overwritten. Includes built-in Claude and Microsoft Translator engines, or your own. Requires Payload 3.80+ with localization enabled.

Features

  • Translates on publish and via a syncAll sweep for missed or changed documents
  • Sentence-level translation memory and document fingerprints avoid repeat engine calls
  • Reviewed by a human mark protects translations until the source or text changes
  • Built-in Claude and Microsoft Translator engines, with per-language engine selection
  • Admin settings for pause, glossary, do-not-translate terms and character caps, plus a Translations coverage view
  • Language picker component with optional language voting requests

Use cases

  • Keep a multilingual marketing site translated automatically while staying within a free translation quota
  • Let translators review machine translations without them being overwritten by later syncs
  • Offer visitors a searchable language switcher and collect votes for new languages

From the author

Translation for Payload: keeps content in every language, a little at a time, translating on publish and in a sweep, remembering every sentence, and never overwriting a human-reviewed translation.

Installation

npm i @extantape/payload-plugin-polyglot

0

Stars

0

Forks

1

Open Issues

Today

Last Updated

836

Weekly Downloads

v0.5.4

npm Version

194.7 KB

Unpacked Size

0

Dependencies

GitHub stars

00 since Oct 25

Show data
GitHub stars by day (UTC)
DateStars
Dec 6, 20260
Dec 5, 20260
Dec 4, 20260
Dec 3, 20260
Dec 2, 20260
Dec 1, 20260
Nov 30, 20260
Nov 29, 20260
Nov 28, 20260
Nov 27, 20260
Nov 26, 20260
Nov 25, 20260
Nov 24, 20260
Nov 23, 20260
Nov 22, 20260
Nov 21, 20260
Nov 20, 20260
Nov 19, 20260
Nov 18, 20260
Nov 17, 20260
Nov 16, 20260
Nov 15, 20260
Nov 14, 20260
Nov 13, 20260
Nov 12, 20260
Nov 11, 20260
Nov 10, 20260
Nov 9, 20260
Nov 8, 20260
Nov 7, 20260
Nov 6, 20260
Nov 5, 20260
Nov 4, 20260
Nov 3, 20260
Nov 2, 20260
Nov 1, 20260
Oct 31, 20260
Oct 30, 20260
Oct 29, 20260
Oct 28, 20260
Oct 27, 20260
Oct 26, 20260
Oct 25, 20260
npm weekly downloads

189−219 since Nov 3

Show data
npm weekly downloads by day (UTC)
DateWeekly downloads
Dec 6, 2026189
Dec 5, 2026353
Dec 4, 2026528
Dec 3, 2026563
Dec 2, 2026584
Dec 1, 2026595
Nov 30, 2026623
Nov 29, 2026690
Nov 28, 2026538
Nov 27, 2026367
Nov 26, 2026338
Nov 25, 2026315
Nov 24, 2026281
Nov 23, 2026245
Nov 22, 2026329
Nov 21, 2026299
Nov 20, 2026287
Nov 19, 2026255
Nov 18, 2026235
Nov 17, 2026209
Nov 16, 2026195
Nov 15, 20260
Nov 14, 2026311
Nov 13, 2026302
Nov 12, 2026274
Nov 11, 2026263
Nov 10, 2026609
Nov 9, 2026596
Nov 8, 2026574
Nov 7, 2026536
Nov 6, 2026514
Nov 5, 2026468
Nov 4, 2026408
Nov 3, 2026408

Each point is npm's rolling 7-day download count.

Health Score

68/100Good

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/1441561579-root.svg)](https://payloaddirectory.dev/plugins/1441561579-root)
HTML
<a href="https://payloaddirectory.dev/plugins/1441561579-root"><img src="https://payloaddirectory.dev/badge/1441561579-root.svg" alt="Payload Directory"></a>
Updated Dec 5, 2026Created Nov 1, 2026Published Dec 4, 2026

README

payload-plugin-polyglot

Keeps all your Payload 3 content translated into every language you have, a little at a time.

Beta (0.x). 0.4.0 is the latest release. Releases go to npm as @extantape/payload-plugin-polyglot. Used on a live site. Feedback and issues welcome.

Language picker, requests and notice. Tested with Vitest: real Payload with in-memory MongoDB for votes, access and the settings, and jsdom for the picker's keyboard and ARIA behavior. An early version of the picker was checked in Chromium at desktop width and a 375 px phone width, by keyboard only. The changes made after that pass have run only in jsdom. It has not been tried on a real phone or with a screen reader yet.

  • Finds your content. List the fields to translate per collection; they become per-language (Payload localization). Slugs, paths, relationships and images stay shared.
  • Translates on publish (in Next.js, after the response, so saving stays fast) and in a sweep (syncAll(), from a cron or script) that catches anything missed or changed.
  • Pays only for what changed. A fingerprint of each document's text skips unchanged documents; a translation memory of every sentence skips known text, so an edit only sends the edited sentences.
  • Never wastes calls on placeholders. Lorem ipsum (and friends) is never sent.
  • Respects people. Languages marked "Reviewed by a human" are left alone while the review still matches; when the source changes or the text is edited, the mark comes off.
  • Cheap or free engines. Claude built in (Haiku by default: in our test a 24,000-character site into 21 languages cost $0.30, about half that through the Batch API, with quality close to Opus); Microsoft Translator (free tier, about 2 million characters a month) built in; bring your own engine. A per-run character cap and clean stops on a used-up quota keep you inside free tiers: the next run continues where the last stopped.
  • Do-not-translate list for product names, brands and scientific names.
  • Translation settings in the admin (no deploy): pause automatic translation, languages not machine-translated, extra never-translate terms, notes for the translator (tone, audience), a glossary of preferred translations per language, a per-sweep character cap, and characters sent per month. The Translations view shows coverage per collection and language, with Translate now.
  • Tells admins when it stops. Out of credits, a free quota used up or a refused key stops translation cleanly (nothing is lost) and shows why on the admin dashboard, as ⚠ next to Translations in the menu, and on the Translations view; onStop runs once (e.g. to email admins) and everything clears with the next successful translation.
  • Engine per language (translatorFor), e.g. one engine for European languages and another for the rest.

On its own, and with others

On its own. Polyglot needs Payload localization turned on (it refuses to start without it) and a translation engine: Microsoft Translator or Claude, both built in, or your own. It doesn't use any other plugin.

Needs. Payload ^3.80.0, @payloadcms/next ^3.80.0, @payloadcms/ui ^3.80.0 and React >=19 as peer dependencies, with the Anthropic SDK >=1.0.0 and Next.js >=15 optional. No other EXTANT APE plugin is required.

Works with:

  • Color Theory (@extantape/payload-plugin-color-theory): the language picker's --pg-* variables and the translation notice fall back to the --palette-* tokens Color Theory writes, so they follow the site's theme in light and dark. They only share token names, and neither imports the other.

It translates the fields you list in any collection, including collections other plugins add, as long as it comes last in plugins.

Color Theory. Yes, through the --palette-* fallbacks above. The amber machine-translated tag and the notice's state colors are fixed and have no hook yet. The admin dashboard uses Payload's --theme-* colors, so it follows Color Theory's admin colors when its applyToAdmin option is on.

Family. Polyglot is in the Locale family, with Places, which is named but not built yet. Locale is marked to be split, so its members and name will change, and all the families are a working draft.

The language picker

<LanguageSwitcher> (from @extantape/payload-plugin-polyglot/client) is a button showing the current language. It opens a bottom sheet on phones and a popover on larger screens, with a search box and a list of your languages, each in its own name with the English name under it. Typing German finds Deutsch and typing Zulu finds isiZulu. Names come from the browser's Intl.DisplayNames, which carries Unicode CLDR data (Unicode License v3), so no name table ships with the plugin. It is a combobox with a listbox: focus stays in the search box, the arrow keys move, Enter chooses, Escape clears the search and then closes. The colors come from --pg-* variables that fall back to --palette-* theme tokens, so a theme restyles it. All of its text can be replaced with the text prop.

// Server component
import { languageList } from '@extantape/payload-plugin-polyglot'
const languages = await languageList(payload)

// Client component
<LanguageSwitcher languages={languages} current={locale} hrefFor={(code) => `/${code}`} requests apiRoute="/api" signInHref="/sign-in" />
  • Needs review tag. The list has no labels except a Needs review tag on languages staff pick under Translation settings, Languages tagged Needs review. Use it for machine translations you are unsure about.
  • Beta notice. <TranslationNotice> (from /rsc) shows the Beta note on every machine translation a person has not reviewed, whatever the tag says. It also says when a language is reviewed or a page is not translated yet.
  • Requests. With requests: true, the search continues into every other language the browser can name. Signed-in accounts (any auth collection) vote for a language, one vote per language per account, any number of languages, and take a vote back. Signed-out visitors can read counts and are sent to sign in. Votes live in the polyglot-language-requests collection. Nobody creates or edits a vote through the API; staff (the same rule as canManage: admin users by default) read all of it and can delete a vote, and an account reads only its own. Deleting an account in any auth collection deletes its votes too. Only an exact true turns requests on. Counts are cached for 30 seconds per server. A unique key on language and account keeps a vote single even if two requests race. Default off.
  • Limits. The only limit is one vote per account per language, so a site with open sign-up can have votes stuffed cheaply; staff can delete votes in the admin. Voting and un-voting are cookie-authenticated POST and DELETE calls, so they rely on your Payload csrf setting and SameSite cookies.
  • With Roadmap. languageRequestsSource() returns the requests as items (lang:zu, title, vote count) for a plugin that takes item sources. Polyglot does not need one.

Limits: the list is about 190 languages and regional variants, from a fixed list of codes. A language the browser has no name for is not offered. The picker needs JavaScript.

Install

npm install @extantape/payload-plugin-polyglot
import { microsoftTranslator, polyglotPlugin } from '@extantape/payload-plugin-polyglot'

export default buildConfig({
  localization: { locales: ['en', 'de', 'fr', 'ja'], defaultLocale: 'en', fallback: true },
  plugins: [
    // Last, so it sees collections other plugins add.
    polyglotPlugin({
      collections: {
        pages: ['title', 'layout', 'meta'],
        posts: ['title', 'content', 'meta'],
        guides: ['title', 'summary', 'sections.heading', 'sections.body'], // only these parts of each row
      },
      translator: microsoftTranslator({ key: process.env.MS_TRANSLATOR_KEY!, region: 'westeurope' }),
      keep: ['Acme', 'Python regius'],
      maxCharactersPerRun: 200_000,
    }),
  ],
})

Run the sweep from a cron job or script:

import { syncAll } from '@extantape/payload-plugin-polyglot'

const report = await syncAll(payload) // { translated, pending, stopped: 'done' | 'budget' | 'quota' | 'paused' | 'off', … }

Claude instead of Microsoft:

import { claudeTranslator } from '@extantape/payload-plugin-polyglot/claude'

translator: claudeTranslator({ instructions: 'A website for reptile keepers.' }) // ANTHROPIC_API_KEY
// Default model claude-haiku-5-5; pass { model: 'claude-sonnet-5-5' } for more care.
// syncAll(payload, { useBatch: true }) uses the Message Batches API (half price)

Notes and glossary from Translation settings reach AI engines (Claude); Microsoft ignores them. Engines we tried and did not build in: MyMemory (no key, but about 50,000 characters a day), Firefox's Bergamot models and MADLAD-400 (free and local, but noticeably weaker, and MADLAD repeats sentences), LibreTranslate's public server (now needs a key).

Show visitors what they are reading: languageStatus(payload, collection, doc, locale) returns source, machine, reviewed, stale or pending.

Options

OptionDefault
collections(required)Fields per collection; dotted paths reach into arrays/groups
translator(required)microsoftTranslator(), claudeTranslator() or your own { translate, batch? }
translatorForEngine per language
keep[]Terms never translated
maxCharactersPerRunno capStop a sweep after this many characters
enabledalwaysWhether a request may call the engine (keys, environments). Only an exact true turns it on; any other answer, or an error, is off. syncAll() asks it first and skips the whole sweep when off (stopped: 'off'); from a cron or script it gets a local request with no user
includepublished docsWhich documents to translate
skiplorem ipsumText never sent
skipKeysurls, ids, slugs…Keys whose strings are never text
identityFieldsslug, generateSlug, pathNever change when another language is saved
memorySlug / stateSlugpolyglot-memory / polyglot-stateCollections it adds
memoryScopeone shared layerWhich memory layer a document uses: see Memory layers
memoryAccesscanManage{ read?, delete? }: functions that return true or a Where, for who may read and delete memory rows: see Memory layers
statusFieldtranslationsPer-document "Reviewed by a human" languages
writeContextContext for writes (e.g. { disableRevalidate: true } in scripts)
onPublishtrueTranslate after publishing
onStopCalled once when translation stops ({ payload, stop: { reason, message, at } }), e.g. to email admins
canManageadmin usersWho sees the Translations view, the translation memory and status, and can Translate now. Only true counts: see Access
canConfigurecanManageWho may read and change Translation settings. Only true counts
canReviewadmin usersWho may mark a language Reviewed by a human, per document and language. Only true counts: see Who can mark a translation reviewed
reportsfalseLet signed-in accounts report a problem with a translation. Only an exact true turns it on
reportsSlugpolyglot-reportsCollection the reports go in
settingstrueAdd the Translation settings global (settingsSlug polyglot-settings, settingsGroup Settings)

Memory layers

By default every translated sentence goes in one shared memory. Some hosts serve several sites from one install and want each site to keep its own wording on top of a shared base. Polyglot has no idea what a site is. Your code names the layer with memoryScope.

polyglotPlugin({
  collections: { pages: ['title', 'body'] },
  translator,
  // A scope id, or null for the shared base. An empty string is a failure, not the base.
  memoryScope: ({ doc }) => (typeof doc.site === 'string' ? doc.site : null),
  memoryAccess: {
    // Site managers see and clear their own layer; top admins see everything.
    read: ({ req }) => (isTopAdmin(req.user) ? true : { scope: { in: sitesOf(req.user) } }),
    delete: ({ req }) => (isTopAdmin(req.user) ? true : { scope: { in: sitesOf(req.user) } }),
  },
})

How it works:

  • Reading. A document with a scope reads its own layer and the base. When a sentence is in both, the scope's own entry wins. A document with no scope reads the base only.
  • Writing. A new machine translation saves to the document's own layer. A sentence the base already has is reused and nothing is written for the scope. Documents with no scope write to the base.
  • Sweeps. With a batch translator, a sentence that two scopes need is sent once, then one row is saved for each scope that asked. Rows already in one scope's layer are never copied to another.
  • If memoryScope throws, or answers anything but a scope id, null or undefined (an empty or whitespace-only string, a number, an object, an array, a boolean), nothing is written to any layer for that document and its missing languages count as failed. It never falls back to the base for writing, which would put one site's text in the shared layer. Reading falls back to the base, so sentences the base has still apply.
  • No memoryScope: one layer, exactly as before.

memoryAccess.read and memoryAccess.delete are functions, like canManage. They take Payload's access arguments ({ req }) and return true or a Where with at least one condition, such as { scope: { in: ['a', 'b'] } }. Any other answer is no: false, an empty Where ({}, { and: [] }, { or: [] }, or a nest of those, since an empty Where matches every row), a Date, a string, a throw, a field other than scope, key, locale, source or text (date and id fields are out: Payload drops a clause whose value it can't parse and matches every row), an operator that isn't equals, not_equals, in, not_in, like, not_like, contains or exists (Payload drops an unknown one and matches every row), an operand that isn't a string (a list of strings for in and not_in, a boolean for exists), an empty, whitespace-only or over-200-character like, not_like or contains, one holding %, _ or a backslash (SQL adapters can read those as wildcards, so like: '%' could match every row; use equals or in for exact values), a list with a hole, and any operand that is undefined or null ({ scope: { equals: user.site } } with no site would otherwise run as a match on the shared base) or an empty list. A refused read or delete gets a 403. Deleting one id that is out of the Where, or doesn't exist, gets the same 404 as reading it. Signed-out requests are always refused. Payload's permissions route for one row, POST /api/<memorySlug>/access/:id, loads the row before it checks access, so on its own it answers 200 for an id that exists and 404 for one that doesn't, even signed out. Polyglot registers its own route at that path on the memory collection, ahead of Payload's. It asks for the same read as GET /:id first: signed out gets a 403 for every id, and a signed-in caller gets a 404 for an id outside their read scope and for one that doesn't exist. A row the caller can read answers as Payload does, with delete: false when the delete rule hides it. GraphQL's docAccessPolyglotMemory(id) query loads the row the same way, so Polyglot wraps it with the same guard (through graphQL.queries, which still runs your own): signed out gets a Forbidden error for every id, and a signed-in caller gets Not Found for an id outside their read scope and for one that doesn't exist. The other GraphQL queries and mutations for the collection are Payload's own and follow its access rules. If you define the memory collection yourself, or add your own /access/:id endpoint to it, neither guard is in place. Leave memoryAccess.read or memoryAccess.delete out and canManage decides it as before. Create and update stay off.

When the GraphQL guard is lost. Payload builds one graphQL.queries function for the whole config, and Polyglot sets it. The guard is a copy of the docAccessPolyglotMemory query (the docAccess query whose type is the memory collection's), returned under that same name. Two things drop it:

  • Your own graphQL.queries returns an entry with that name. Polyglot calls your function and your entries win on a clash, so yours replaces the guard.
  • A plugin listed after Polyglot sets graphQL.queries without calling the one it was given. Whatever was there before, Polyglot's function included, is gone.

To keep it, don't return that query name from your own queries. In any later plugin or config, call the existing graphQL.queries and spread what it returns:

const keepEarlierQueries = (config: Config): Config => {
  const earlier = config.graphQL?.queries
  return {
    ...config,
    graphQL: {
      ...config.graphQL,
      queries: (GraphQL, args) => ({
        ...earlier?.(GraphQL, args),
        myQuery: { type: GraphQL.GraphQLString, resolve: () => 'hello' },
      }),
    },
  }
}

The REST route is a collection endpoint and isn't affected by graphQL.queries.

Polyglot refuses to start when memoryAccess.read or memoryAccess.delete is set to anything but a function, false and true included. To use the default, leave it out.

Upgrading an existing memory

The memory collection gains a scope field and its unique index becomes (key, scope). Rows you already have have no scope, so they become the base with no data change. Payload creates indexes but never drops them, so the old one-field unique index on key stays on a database that had memory before. It would refuse the same sentence in a second layer. Drop it once, after deploying:

import { dropLegacyMemoryIndex } from '@extantape/payload-plugin-polyglot'

await dropLegacyMemoryIndex(payload) // true if it dropped the old index, false if none was there

or in the MongoDB shell: db.getCollection('polyglot-memories').dropIndex('key_1') (your memorySlug pluralized). Sites that use no memoryScope don't need to do anything. This is MongoDB only.

With memoryScope set on MongoDB, Polyglot also drops that old index itself at start-up and ignores "index not found", so two instances starting together are fine. If the index is still there after that (the drop was refused, for example), it logs an error naming key_1. Until it is gone, a second scope's miss is still translated and used for the page, but the row isn't saved, so it is paid for again on the next run. A failed save to memory is logged and never fails the request.

dropLegacyMemoryIndex is safe to run twice and at the same time as another call.

Databases other than MongoDB

The layers were tested on MongoDB only. The unique index is on (key, scope), and the shared base has no scope, so its scope is empty (NULL). Postgres and SQLite treat NULLs as distinct in a unique index, so on those databases nothing stops two base rows for the same sentence if two writes race. The result is a duplicate row, not wrong text: reads still find the sentence, and only the extra row is clutter you can delete. Scoped rows are unaffected. dropLegacyMemoryIndex and the start-up drop only run on MongoDB.

Access

canManage decides who sees the Translations view, its menu link and the stop banner, who calls the coverage and Translate now endpoints (which can spend money on the engine), and who reads or clears the translation memory and status collections. canConfigure decides who reads and changes Translation settings, and falls back to canManage.

Only an answer of exactly true counts. Anything else is a no: false, 1, 'yes', an object (one shaped like a query included), or an error thrown or rejected. An error doesn't escape as a 500; the endpoints answer 403 (401 if nobody is signed in). Nobody who isn't signed in is let in, whatever the functions say. What they return is never handed to Payload as access. The one exception is memoryAccess, which can return a Where on purpose: see Memory layers.

With neither option set, only users of your admin collection (admin.user in your Payload config, usually users) are let in. Accounts from any other auth collection, such as site members, are refused.

Changed in 0.3.0 (2026-11-11): the default used to let any signed-in account in, members of other auth collections included, so a member could start paid translations, change settings, and read or clear the translation memory. Any truthy answer from canManage or canConfigure also counted as yes. Sites relying on the old default must pass the option, for example canManage: ({ req }) => Boolean(req.user).

Who can mark a translation reviewed

The Reviewed by a human field decides which languages are left alone, so it is protected on the server, as field-level update access. canReview({ req, doc, locale }) is asked once for each language that a save adds or removes. Every one must answer exactly true; if any does not, the whole change to that field is dropped and the stored list stays as it was. Saving the page with the list unchanged is always fine. A throw, a rejection or any other answer is a no, and so is a request with no signed-in user. With no canReview, only users of the admin collection can. The plugin's own runs use the local API without access checks and are not affected. No endpoint of the plugin sets this field.

A site where translators have assigned languages (here, a languages list on the translator's account):

polyglotPlugin({
  // ...
  canReview: ({ req, locale }) =>
    req.user?.collection === 'translators' && Array.isArray(req.user.languages) && req.user.languages.includes(locale),
})

This replaces the default, so add your admins to the check if they should still review. The same function decides who reads reports (below). It is asked with no doc there, so write it to cope with that.

A review does not outlive the text it was about. A new page, and so a duplicate, starts with nothing reviewed. Editing a language takes its mark off unless the same save adds it again. At the next sync, a reviewed language whose source (the default language) changed, or that has no fingerprint on record, loses its mark and is translated again. Keep Payload versions on if you want the old text back.

Setting up a translator role

Polyglot has no role of its own. You decide who a translator is; canReview and canReviewByRole (both typed, CanReview and ReviewArgs are exported) connect that to the field. Whatever you use, keep the field that holds roles editable by admins only, or people could give themselves the role.

A roles field on your users. Add roles (and, to give each translator languages, languages):

import { canReviewByRole, polyglotPlugin } from '@extantape/payload-plugin-polyglot'

const adminOnly = ({ req }) => req.user?.roles?.includes('admin') === true

// in your users collection
fields: [
  { name: 'roles', type: 'select', hasMany: true, options: ['admin', 'translator'], defaultValue: [], access: { create: adminOnly, update: adminOnly } },
  { name: 'languages', type: 'select', hasMany: true, options: ['es', 'fr'], access: { create: adminOnly, update: adminOnly } },
]

// in the plugin
polyglotPlugin({
  // ...
  canReview: canReviewByRole({ roles: ['translator'], anyLanguageRoles: ['admin'], languagesField: 'languages' }),
})

A translator can then mark only the languages on their account; an admin can mark any. Leave out languagesField to let every translator review every language. If your roles field has another name, pass roleField. It can hold one string or a list.

An access-control or permissions plugin. Most of these give each user a role and let you ask "may this user do X?". Register one permission, say polyglot.review, and call the plugin's check from canReview. The shape is the same in each:

canReview: async ({ req, locale }) => {
  if (!req.user) return false
  // Replace with your plugin's own check. It must give back exactly `true`.
  return (await userCan(req, 'polyglot.review', { language: locale })) === true
}

Where the plugin keeps permissions per role in the database, create a Translator role there with that permission and give it to your translators; where it takes them in config, add the permission to a translator role in the config. Per-language limits go through whatever scope or condition the plugin supports, or through a languages field as above. If the check can reject or throw, that is a no.

Reports are shown to reviewers without the reporter's account, so a translator sees the page, the language and the message only.

Reporting a problem with a translation

With reports: true, POST /api/polyglot/reports takes { collection, id, locale, message } from a signed-in account of any auth collection. The collection must be one the plugin translates, the language one of the site's, the page must exist, and the message is trimmed and capped at 500 characters. One account can send 10 reports an hour (429 after that). Reports go in polyglot-reports: nobody writes to it through the API, users of the admin collection read and delete everything, and anyone canReview allows reads the reports for the languages it allows, without the account of the person who sent them (only the admin collection sees that). Deleting an account deletes the reports it sent. Reporting a problem does not mark anything reviewed.

License

MIT

Similar plugins