General Engineer: Internationalization & User Prompts for Openclaw

A specialized engineering skill for managing i18n-compliant user text, translation systems, and non-blocking notification patterns across full-stack environments.

aiweline
v1.1.0
May 8, 2026
0
655
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install common-i18n-notification

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install common-i18n-notification using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is General Engineer: Internationalization & User Prompts?

The Internationalization & User Prompts skill is a core engineering component designed to standardize how AI agents handle visible text and user feedback. It ensures that every piece of user-facing copy—from simple button labels to complex error messages—is correctly wired into the i18n system. By centralizing these patterns, Openclaw Skills allow developers to maintain a consistent user experience across backend services, admin panels, and frontend templates while strictly adhering to framework-safe practices.

This skill eliminates the risks of hardcoded strings and disruptive browser-native dialogs. It focuses on implementing attribute-safe translation expressions and replacing legacy alerts with modern, framework-compliant toast and confirmation components. By integrating this skill, AI agents can effectively manage the full lifecycle of internationalization, ensuring that software remains globally ready and user-friendly at every layer of the application.

General Engineer: Internationalization & User Prompts Use Cases

  • Implementing multi-language support for labels, placeholders, and buttons in web templates.
  • Migrating hardcoded user-facing strings into PHP, JavaScript, or framework-specific translation files.
  • Replacing standard browser alert, confirm, or prompt dialogs with non-blocking framework toasts.
  • Standardizing error message wording to ensure it is actionable and understandable for end-users.
  • Managing complex string interpolation using %{name} or %{1} style placeholders across different modules.

How General Engineer: Internationalization & User Prompts Works

  1. Scan the target codebase (backend, frontend, or modules) to identify all new or modified user-facing strings.
  2. Select the appropriate translation syntax based on the file type, such as PHP, plain templates, or JavaScript.
  3. Update the corresponding i18n language files to include new translation keys and localized values.
  4. Audit the code for native browser dialogs and refactor them into framework-safe notification components.
  5. Review the final copy for clarity and consistency with the existing brand voice and technical standards.
  6. Verify the UI path to ensure the translated text renders correctly and notification triggers function as expected.
  7. Document the translation coverage and report any UX risks to the technical lead.

General Engineer: Internationalization & User Prompts Setup

To integrate this skill into your local environment, ensure your AI agent is configured with the necessary Openclaw Skills repository path.

# Navigate to the skills directory
cd dev/ai/skills/i18n-internationalization/

# Ensure the collaboration contract is linked
# This skill depends on 'General Engineering Standards'
ls ../../agent/README.md

Configure your translation domain and identify the active language files (e.g., en_US, zh_CN) before initiating the agent's translation workflow.

General Engineer: Internationalization & User Prompts Data Schema & Taxonomy

The skill manages data across the following structures to ensure full i18n coverage:

Data Type Format/Syntax Purpose
PHP Strings __('Key') Backend and controller translations
Template Tags @lang('Key') Attribute-safe translations in custom tags
Interpolation %{variable} Dynamic content within translated strings
Notifications Toast/Confirm Non-blocking user feedback components
Lang Files .php or .json Key-value mapping for localization domains

General Engineer: Internationalization & User Prompts Advanced Features

  • Multi-agent collaboration hooks via the Weline technical lead protocol.
  • Attribute-safe translation expressions that prevent PHP execution errors inside custom HTML/Template tags.
  • Automated validation of interpolation placeholders to prevent runtime rendering failures.
  • Cross-module translation synchronization to maintain consistency between admin UI and public frontend.
  • Framework-native feedback routing for success, warning, and failure states.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*