Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

i18nchecki18ncheck 搜索

Agent Skill

i18ncheck 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,889

周安装

118

GitHub Stars

公开资料未说明

下载量

925
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:i18ncheck(i18ncheck 搜索)
来源仓库:https://github.com/suhteevah/i18ncheck
安装命令:
openclaw skills install i18ncheck
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install i18ncheck

简介

i18ncheck 检测代码中的国际化与本地化问题,如硬编码字符串与 RTL 布局缺陷。

  • 适合在 OpenClaw 中准备多语言发布或审计代码兼容性时使用。
  • 识别缺失翻译、区域格式错误与字符串拼接风险点。
  • 安装命令:openclaw skills install i18ncheck,需源码文件读取权限。
  • 规则库可能未覆盖全部边缘情况,需人工复核关键路径。

SKILL.md

name
i18ncheck
description
Internationalization & localization readiness scanner -- detects hardcoded strings, missing translations, locale-sensitive formatting, RTL issues, string concatenation in translations, and i18n anti-patterns across all languages
homepage
https://i18ncheck.pages.dev
metadata
user-invocable
true
disable-model-invocation
false

I18nCheck -- Internationalization & Localization Readiness Scanner

I18nCheck scans codebases for internationalization issues: hardcoded UI strings, missing translation keys, locale-sensitive date/number formatting, RTL layout issues, string concatenation for translations, missing lang attributes, non-Unicode encodings, locale-dependent comparisons, missing pluralization, and timezone-naive datetime usage. It uses regex-based pattern matching against 90+ i18n patterns across JS/TS, Python, Java, Go, Ruby, and PHP. 100% local. Zero telemetry.

Commands

Free Tier (No license required)

i18ncheck scan [file|directory]

One-shot i18n scan of files or directories.

How to execute:

bash "<SKILL_DIR>/scripts/i18ncheck.sh" scan [target]

What it does:

  1. Accepts a file path or directory (defaults to current directory)
  2. Discovers all source files (skips .git, node_modules, binaries, images, .min.js)
  3. Runs 90+ i18n detection patterns against each file
  4. Respects .gitignore and allowlist files
  5. Calculates an i18n readiness score (0-100) per file and overall
  6. Grades: A (90-100), B (80-89), C (70-79), D (60-69), F (<60)
  7. Outputs findings with: file, line number, check ID, severity, description, recommendation
  8. Exit code 0 if score >= 70, exit code 1 if too many issues found
  9. Free tier limited to 5 files per scan

Example usage scenarios:

  • "Scan my code for i18n issues" -> runs i18ncheck scan .
  • "Check this file for hardcoded strings" -> runs i18ncheck scan src/components/Header.tsx
  • "Find internationalization problems in my project" -> runs i18ncheck scan src/
  • "Are there any untranslated strings in my app?" -> runs i18ncheck scan .
  • "Check for RTL layout issues" -> runs i18ncheck scan .

i18ncheck hook

Install git pre-commit hooks that scan staged files for i18n issues before every commit.

How to execute:

bash "<SKILL_DIR>/scripts/i18ncheck.sh" hook install

What it does:

  1. Copies lefthook config to project root
  2. Installs lefthook pre-commit hook
  3. On every commit: scans all staged files for i18n issues, blocks commit if critical/high findings, shows remediation advice

i18ncheck report [directory]

Generate a markdown i18n readiness report with findings, severity breakdown, and remediation steps.

How to execute:

bash "<SKILL_DIR>/scripts/i18ncheck.sh" report [directory]

What it does:

  1. Runs full scan of the directory
  2. Generates a formatted markdown report from template
  3. Includes per-file breakdowns, i18n readiness scores, remediation priority
  4. Output suitable for i18n audits and localization planning

Pro Tier ($19/user/month -- requires I18NCHECK_LICENSE_KEY)

i18ncheck watch [directory]

Continuous monitoring mode that watches for file changes and scans in real-time.

How to execute:

bash "<SKILL_DIR>/scripts/i18ncheck.sh" watch [directory]

What it does:

  1. Validates Pro+ license
  2. Watches the directory for file changes using filesystem events
  3. Automatically scans changed files for i18n issues
  4. Reports new issues as they are introduced
  5. Runs until interrupted (Ctrl+C)

i18ncheck ci [directory]

CI/CD integration mode with strict exit codes and machine-parseable output.

How to execute:

bash "<SKILL_DIR>/scripts/i18ncheck.sh" ci [directory]

What it does:

  1. Validates Pro+ license
  2. Runs full scan with all patterns
  3. Exit code 0 = clean (score >= 70), exit code 1 = issues found
  4. Output is formatted for CI log parsing
  5. Supports severity threshold configuration

Team Tier ($39/user/month -- requires I18NCHECK_LICENSE_KEY with team tier)

i18ncheck team-report [directory]

Generate aggregate team i18n metrics and trend reports.

How to execute:

bash "<SKILL_DIR>/scripts/i18ncheck.sh" team-report [directory]

What it does:

  1. Validates Team+ license
  2. Scans directory with all patterns
  3. Generates team-level metrics: top issues by category, worst files, trends
  4. Produces a comprehensive markdown report for team leads
  5. Includes remediation priority matrix

i18ncheck baseline [directory]

Establish a baseline of known i18n issues for incremental improvement tracking.

How to execute:

bash "<SKILL_DIR>/scripts/i18ncheck.sh" baseline [directory]

What it does:

  1. Validates Team+ license
  2. Scans directory and records all current findings as baseline
  3. Saves baseline to .i18ncheck-baseline.json
  4. Future scans only report NEW issues not in the baseline
  5. Useful for legacy codebases with known i18n debt

i18ncheck status

Show license and configuration information.

bash "<SKILL_DIR>/scripts/i18ncheck.sh" status

Detected Pattern Categories

I18nCheck detects 90+ i18n patterns across 6 categories:

CategoryExamplesSeverity
Hardcoded Strings (HS)JSX/TSX hardcoded text, alert()/confirm() strings, hardcoded placeholder/label/button text, template literal UI textCritical/High
Translation Keys (TK)Missing t()/i18n() calls, untranslated aria-label, missing translation JSON keys, orphaned/duplicate keys, inconsistent key namingHigh/Medium
Date & Number Formatting (DF)toLocaleDateString() without locale, hardcoded MM/DD/YYYY, manual number formatting, hardcoded currency symbols, timezone-naive Date opsHigh/Medium
RTL & Layout (RL)Missing dir/lang attributes, hardcoded left/right CSS, text-align without RTL, float without logical alternatives, margin-left/right instead of inlineHigh/Medium
String Concatenation (SC)Concatenated translated messages, template literal interpolation in translations, printf without i18n, word order assumptions, if/else pluralsHigh/Medium
Encoding & Locale (EN)Non-UTF-8 charset, locale-dependent toLowerCase, ASCII-only regex for intl text, hardcoded locale IDs, missing Unicode normalizationMedium/Low

Configuration

Users can configure I18nCheck in ~/.openclaw/openclaw.json:

{
  "skills": {
    "entries": {
      "i18ncheck": {
        "enabled": true,
        "apiKey": "YOUR_LICENSE_KEY_HERE",
        "config": {
          "severityThreshold": "high",
          "ignorePatterns": ["**/test/**", "**/fixtures/**", "**/*.test.*"],
          "ignoreChecks": [],
          "allowlistFile": ".i18ncheck-allowlist",
          "reportFormat": "markdown"
        }
      }
    }
  }
}

Important Notes

  • Free tier works immediately with no configuration
  • All scanning happens locally -- no code is sent to external servers
  • License validation is offline -- no phone-home or network calls
  • Pattern matching only -- no AST parsing, no external dependencies beyond bash
  • Supports scanning JS/TS, Python, Java, Go, Ruby, and PHP in a single pass
  • Git hooks use lefthook which must be installed (see install metadata above)
  • Exit codes: 0 = clean (score >= 70), 1 = i18n issues detected (for CI/CD integration)

Error Handling

  • If lefthook is not installed and user tries hook install, prompt to install it
  • If license key is invalid or expired, show clear message with link to https://i18ncheck.pages.dev/renew
  • If a file is binary, skip it automatically with no warning
  • If no scannable files found in target, report clean scan with info message
  • If .i18ncheck-allowlist is missing, skip allowlist filtering gracefully

When to Use I18nCheck

The user might say things like:

  • "Scan my code for i18n issues"
  • "Find hardcoded strings in my project"
  • "Check for internationalization problems"
  • "Are there untranslated strings in my app?"
  • "Scan for localization issues"
  • "Check RTL layout support"
  • "Find date formatting issues for i18n"
  • "Detect locale-sensitive code"
  • "Check if my app is ready for localization"
  • "Find string concatenation in translations"
  • "Scan for non-UTF-8 encoding issues"
  • "Check for missing lang attributes"
  • "Find timezone-naive datetime usage"
  • "Run an i18n audit on my codebase"
  • "Set up pre-commit hooks for i18n checks"
  • "Generate an i18n readiness report"
  • "Baseline existing i18n issues in my legacy project"

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.31%
按下载量换算771

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills