generate-translations

Generate translation strings for Payload packages and plugins using OpenAI.

417|7|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/Asymmetric-al/core --skill generate-translations-asymmetric-al
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-translations
Source: https://github.com/Asymmetric-al/core/tree/main/vendor/payload-upstream/.claude/skills/generate-translations
Command: npx skills add https://github.com/Asymmetric-al/core --skill generate-translations-asymmetric-al

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of generating new translation strings for both core Payload packages and individual plugins, ensuring consistency and reducing manual effort.

Core Features & Use Cases

  • Core Translation Generation: Automatically translates new English keys added to core Payload packages into all supported languages.
  • Plugin Translation Generation: Generates translations for specific plugins, namespacing them to avoid conflicts.
  • Scaffolding New Plugin Translations: Assists in setting up the necessary directory structure and files for plugins that do not yet have translation support.
  • Use Case: After adding a new feature to the Payload UI, use this skill to quickly generate the necessary translation keys for all supported languages, ensuring a seamless multilingual experience.

Quick Start

Run the pnpm generateTranslations:core command from the tools/scripts directory.

Frequently Asked Questions about generate-translations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate translation string generation for Payload CMS plugins?

To automate translation string generation for Payload CMS plugins, you can use a script that namespaces translations to avoid conflicts and requires an OpenAI API key. This process automatically generates the necessary language files for your specific plugin.

What's the best way to scaffold new i18n directories for Payload CMS?

The best way to scaffold new i18n directories for Payload CMS is by using an automated generation tool that sets up the necessary directory structure and translation files for plugins that do not yet have internationalization support.

Do I need an OpenAI API key to generate internationalization files for core Payload packages?

Yes, you need an OpenAI API key to generate internationalization files for core Payload packages. The automated translation services rely on this key to translate new English keys into all supported languages.

How do I translate new English keys added to core Payload packages into all supported languages?

You translate new English keys added to core Payload packages by running the pnpm generateTranslations:core command from the tools/scripts directory, which automatically handles the multilingual translation process.

Can I set up translation files for a Payload plugin that does not yet have localization support?

Yes, you can set up translation files for a Payload plugin lacking localization support by using a scaffolding feature that creates the required directory structure and initial translation files automatically.