consolidate-duplicate-i18n-keys

Official

Deduplicate i18n keys efficiently.

AuthorOrderlyNetwork
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill tackles the inefficiency and potential for errors caused by having multiple internationalization (i18n) keys in your application that point to the exact same English text.

Core Features & Use Cases

  • In-Module Deduplication: Identifies and consolidates duplicate i18n keys within the same module, reducing code clutter and maintenance overhead.
  • Cross-Module Suggestion: Suggests merging i18n keys with identical English values but different prefixes into a common key (e.g., common.xxx) for better code organization.
  • Use Case: If you find keys like userProfile.saveButton and settings.saveButton both translate to "Save", this skill helps you standardize them, perhaps to common.save.

Quick Start

Run the consolidate-duplicate-i18n-keys script from the app directory to generate a report of potential deduplications.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: consolidate-duplicate-i18n-keys
Download link: https://github.com/OrderlyNetwork/dex-creator/archive/main.zip#consolidate-duplicate-i18n-keys

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.