general-add-localization

Add translatable localization keys to backoffice UI components.

5.2k|2.9k|Updated Jun 10, 2013
One-click install
npx skills add https://github.com/umbraco/Umbraco-CMS --skill general-add-localization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: general-add-localization
Source: https://github.com/umbraco/Umbraco-CMS/tree/main/src/Umbraco.Web.UI.Client/.claude/skills/general-add-localization
Command: npx skills add https://github.com/umbraco/Umbraco-CMS --skill general-add-localization

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of adding and managing localization keys for backoffice UI elements, ensuring consistent translations across the platform.

Core Features & Use Cases

  • Localization Key Creation: Add new localization keys to the English dictionaries in a standardized format.
  • Usage in UI Components: Enable dynamic and inline localization in element templates, <umb-localize>, and non-element classes via API controllers.
  • Use Case: When developing a new feature, quickly integrate translatable labels and messages to support multiple languages seamlessly.

Quick Start

Use the localization Skill to add a new key called 'general_welcome' with the description to the language file and call it within a component.

Frequently Asked Questions about general-add-localization

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

FAQPage Schema
How do I add translatable localization keys for backoffice UI components?

To add translatable localization keys for backoffice UI components, you can use this Skill to automate integration into element templates, custom controllers, and inline HTML. It standardizes key creation in English dictionaries.

What is the best way to manage internationalization strings in element templates?

Managing internationalization strings in element templates is handled by utilizing the <umb-localize> element for dynamic inline translation. This Skill automates the setup and validation of these translatable text strings.

Can I use API controllers to add localization to non-element backoffice classes?

Yes, you can use API controllers to add localization to non-element backoffice classes. This Skill supports integrating translatable labels and messages directly within custom controllers for comprehensive internationalization.

Does this localization approach support inline HTML and dynamic UI text?

Yes, this localization approach supports both inline HTML and dynamic UI text. It streamlines adding translatable text by utilizing scripting and reference resources to ensure consistent translations across the platform.

When do I need to add localization keys to English dictionaries?

You need to add localization keys to English dictionaries when developing a new feature that requires multi-language support. This Skill simplifies creating these keys in a standardized format for seamless platform translations.