Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计通过

localization-engineer本地化工程师

Agent Skill

localization-engineer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

679

周安装

28

GitHub Stars

10

下载量

222
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:localization-engineer(本地化工程师)
来源仓库:https://github.com/oakoss/agent-skills
仓库路径:skills/localization-engineer
安装命令:
npx skills add https://github.com/oakoss/agent-skills --skill localization-engineer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/oakoss/agent-skills --skill localization-engineer

简介

localization-engineer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于前端设计与国际化相关 Agent 工作流。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Localization Engineer

Overview

Provides framework-agnostic patterns for building multilingual applications, covering the full i18n pipeline from locale detection through translation rendering. Addresses universal concerns like ICU message formatting, CLDR plural rules, RTL support, and SEO.

When to use: Adding multi-language support, locale-aware formatting, RTL layouts, pluralization, translation management, locale negotiation, multilingual SEO.

When NOT to use: Single-language apps with no internationalization plans, content that never changes locale, purely server-rendered static sites with no dynamic content.

Key decision: Choose Paraglide for compile-time type safety and minimal bundles in new projects. Choose i18next for broad ecosystem support and incremental adoption in existing projects. See the Library Selection table below.

Library Selection

CriteriaParaglide JSi18next
ArchitectureCompile-time, tree-shakable functionsRuntime, plugin-based ecosystem
Type safetyFull (generated typed message functions)Partial (requires manual type setup)
Bundle sizeMinimal (only used messages shipped)Larger runtime (~40 kB base + plugins)
PluralizationVia message format pluginsBuilt-in with CLDR plural categories
Framework supportSvelteKit, TanStack Start, React Router, Astro, vanillaReact, Vue, Svelte, Angular, Node, vanilla
ICU supportVia inlang-icu-messageformat-1 pluginVia i18next-icu plugin
Translation toolsFink editor, Sherlock VS Code extensionLocize, i18next-parser, many integrations
Locale strategiesBuilt-in (cookie, URL, header, custom)Via i18next-browser-languagedetector plugin
SSR supportAsyncLocalStorage-based per-requestSeparate i18next instance per request
Learning curveLow (compiler generates simple functions)Medium (large API surface, many plugins)
Namespace supportFlat message files per localeMulti-namespace with lazy loading per route
Message formatInlang format or ICU via plugini18next JSON v4 or ICU via plugin
Community sizeGrowing (inlang ecosystem)Large (established since 2015)
Best forNew projects prioritizing bundle size and type safetyExisting projects needing broad ecosystem support

Quick Reference

PatternApproachKey Points
ICU pluralization{count, plural, one {# item} other {# items}}CLDR categories: zero, one, two, few, many, other
ICU select (gender){gender, select, male {He} female {She} other {They}}Covers gender-aware and variant-based messages
ICU selectordinal{rank, selectordinal, one {#st} two {#nd} other {#th}}Ordinal suffixes vary by language
Number formattingIntl.NumberFormat(locale, options)Currency, percent, unit formatting built into platform
Date formattingIntl.DateTimeFormat(locale, options)Avoid manual date string construction
Relative timeIntl.RelativeTimeFormat(locale, options)"3 hours ago", "in 2 days" with locale-aware output
List formattingIntl.ListFormat(locale, {type: 'conjunction'})"Alice, Bob, and Charlie" with locale-aware conjunctions
RTL layoutCSS logical properties (inline-start, inline-end)Replace left/right with logical equivalents
RTL detection<html dir="rtl" lang="ar">Set dir attribute based on locale
Locale from URL/en/about, /de/aboutMost SEO-friendly, clear to users
Locale from cookielocale=de cookiePersists preference across sessions
Locale from headerAccept-Language: de-DE,de;q=0.9,en;q=0.8Browser preference, use as fallback
Hreflang tags<link rel="alternate" hreflang="de" href="...">One per locale plus x-default
Namespace splittingGroup translations by feature or routeReduces bundle size via lazy loading
Message extractionAutomated tooling scans source for translation keysPrevents orphaned or missing translations
PseudolocalizationGenerate fake translations to test layoutCatches truncation, overflow, hardcoded strings

Common Mistakes

MistakeCorrect Pattern
Concatenating translated fragments into sentencesUse ICU message format with placeholders for proper grammar across locales
Using margin-left/padding-right with RTLUse CSS logical properties (margin-inline-start, padding-inline-end)
Hardcoding plural rules (count === 1)Use CLDR plural categories (some languages have zero, two, few, many forms)
Detecting locale only from IP geolocationUse Accept-Language header, then cookie, then geolocation as last resort
Missing x-default in hreflang tagsAlways include <link rel="alternate" hreflang="x-default"> for fallback
One massive translation file per localeSplit into namespaces by feature for lazy loading and maintainability
Creating new i18next instance per componentCreate once at app initialization, share across components
Formatting dates with string concatenationUse Intl.DateTimeFormat for locale-aware date rendering
Storing locale in component stateStore in URL path or cookie for SSR compatibility and shareability
Using different i18n keys in client and serverShare translation files and key structure between client and server
Assuming all languages expand equallyBudget 30-40% extra space for German/Finnish translations vs English
Embedding text in imagesUse CSS/SVG text overlays so translations can be applied dynamically
Using language codes without region variantsUse en-US vs en-GB when formatting differences matter (dates, currency)

Delegation

  • Audit codebase for hardcoded strings: Use Explore agent to scan components for untranslated user-facing text
  • Set up full i18n pipeline: Use Task agent to configure locale detection, translation loading, and rendering
  • Plan localization architecture: Use Plan agent to design namespace structure, locale strategy, and translation workflow
  • Review translation coverage: Use Task agent to compare translation files and identify missing keys across locales
  • Code review for i18n compliance: Delegate to code-reviewer agent
If the tanstack-start skill is available, delegate server middleware and SSR locale patterns to it. If the tanstack-router skill is available, delegate URL-based locale routing patterns to it. If the sveltekit skill is available, delegate SvelteKit-specific routing and hooks patterns to it. If the seo skill is available, delegate advanced hreflang and sitemap patterns to it.

References

  • Paraglide JS patterns -- compile-time i18n with typed message functions, SvelteKit/TanStack Start/React Router integration, locale strategies
  • i18next patterns -- runtime i18n with plugin ecosystem, React/Vue/Svelte/vanilla integration, namespaces, language detection
  • ICU message format -- pluralization, select, number/date formatting, nested messages, RTL support, hreflang SEO

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.52%
按下载量换算74

Claude

32.7%
按下载量换算73

Cursor

20.83%
按下载量换算46

Gemini CLI

9.92%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills