本文へ移動
cccskills
無料GitHub で公開

localization-in-code

Resolve localized text at presentation boundaries using English-source keys, with Russian localization only when requested, and correct lifecycle refresh.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md2.1 KB
  • agents/openai.yaml221 B
  • references/entity-text-and-popups.md449 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Keep internal logic typed and language-independent. Resolve localized text only where presented.

Before adding LocId, Loc.GetString, XAML localization, popup text, or validation text:

  1. search the exact English key and competing spellings
  2. inspect neighboring English keys used by the same feature
  3. locate the existing English owner file; locate Russian only when it is in scope
  4. preserve their relative path and message order
  5. add or update Russian only when explicitly requested, preserving the English key contract

English defines message IDs, required attributes, variables, selectors, and ordering. When Russian is requested, preserve that contract while using natural language.

Do not store resolved localized strings in components, persistence, network state, equality checks, or durable caches.

If UI survives culture changes, refresh labels, tooltips, placeholders, and generated rows through the supported lifecycle. Subscribe once and unsubscribe on disposal or shutdown.

Pass typed values, entities, counts, durations, and prototype-derived text as variables. Variable names and selector input types must match English; they must also match Russian when Russian is in scope.

Use entity-name and grammar helpers instead of manual name, pronoun, or article concatenation. When Russian is in scope, do not use THE(...) or equivalent English grammar wrappers.

Review failures include hardcoded player text, mismatched variables, localized string comparison, persisted output, stale UI, and duplicate culture-change subscriptions. Russian key coverage and ordering are review criteria only when Russian is in scope.

Inspect the affected FTL file and exact keys, then review the code or XAML that resolves them. Search plausible owner roots for an exact duplicate key only when needed. Follow root AGENTS.md for verification scope; FTL-only changes do not require dependency restore, a full build, or YAML linting by default.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Implement actions, cooldowns, DoAfter flows, interruption, cancellation, and authoritative completion safely.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

Implement privileged commands, admin UI, role checks, audit logs, and safe operational controls.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

Plan, verify, implement, and deliver repository work through evidence-backed ownership and quality gates.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

Implement replicated appearance data, GenericVisualizer mappings, sprite layers, overlays, and client visual systems.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

atmos

無料

Modify atmos simulation, gases, fire, pressure, pipes, devices, UI, and hot paths safely.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

audio

無料

Add data-driven audio with correct prediction, audience, resources, attribution, and verification.

日本語の概要は準備中です。原文の説明を表示しています。

ArcaneSS14/arcane-new32026年10月12日 更新

ArcaneSS14 のスキルをすべて見る

このスキルの問題を報告する