ac-i18n-and-localisation
Making software correct in more than one language and locale: externalising strings and the text expansion they cause, plural and gender rules through CLDR, right-to-left layout and mirrored icons, collation and search across scripts, dates time zones and calendars, number and currency formatting, and the localisation workflow that keeps translations from drifting. Use when asking "i18n", "L10n", "plural rules", "right to left", "RTL", "text expansion", "collation", "locale formatting", "translation workflow", "why does this date look wrong in German". Not for accessibility and WCAG conformance (ac-frontend-ui), not for brand voice and terminology (ac-brand-guidelines), not for document translation as an editorial task (ac-editing).
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- ac-i18n-and-localisation
- status
- seedling
- license
- MIT
- metadata
- { "domain": "software-engineering" }
- description
- Making software correct in more than one language and locale: externalising strings and the text expansion they cause, plural and gender rules through CLDR, right-to-left layout and mirrored icons, collation and search across scripts, dates time zones and calendars, number and currency formatting, and the localisation workflow that keeps translations from drifting. Use when asking "i18n", "L10n", "plural rules", "right to left", "RTL", "text expansion", "collation", "locale formatting", "translation workflow", "why does this date look wrong in German". Not for accessibility and WCAG conformance (ac-frontend-ui), not for brand voice and terminology (ac-brand-guidelines), not for document translation as an editorial task (ac-editing).
02 资源文件 10
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md380 B
- 参考文档subskills/collation-and-search.md3.1 KB
- 参考文档subskills/l10n-record.md3.1 KB
- 参考文档subskills/locale-formatting.md3.1 KB
- 参考文档subskills/localisation-workflow.md3.1 KB
- 参考文档subskills/plurals-and-gender.md3.0 KB
- 参考文档subskills/rtl-and-bidi.md3.1 KB
- 参考文档subskills/string-externalisation.md3.0 KB
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Internationalisation and localisation
Overview
Internationalisation is the engineering work that makes localisation possible: strings externalised, layouts that tolerate length changes, formats driven by locale rather than hard-coded, and logic that does not assume a language's grammar. Localisation is the translation and adaptation that follows. Confusing the two produces the classic failure where a translated product still shows American dates, breaks on a longer word, and pluralises incorrectly.
This skill covers the parts that are engineering rather than editorial: string externalisation and expansion, plural and gender rules, right-to-left support, collation across scripts, the formatting of dates, times, numbers, and currency, and the workflow that keeps a translation in step with the source. Accessibility and brand terminology belong to other skills.
Primary sources: https://cldr.unicode.org/ and https://www.w3.org/International/.
When to use
- When externalising strings or preparing a product for a new locale.
- When plural, gender, or grammatical case changes the message.
- When a layout must support right-to-left text.
- When sorting, searching, or formatting depends on locale.
When NOT to use
- For accessibility and WCAG conformance (use ac-frontend-ui).
- For terminology and voice consistency (use ac-brand-guidelines).
- For translating documents as an editorial task (use ac-editing).
Subskill Index
| Leaf | Domain segment | Scope (one line) |
|---|---|---|
subskills/string-externalisation.md |
software-engineering/string-externalisation |
Resource files, keys, context, and the text expansion they must survive. |
subskills/plurals-and-gender.md |
software-engineering/plurals-and-gender |
CLDR plural categories, gender, and grammar that changes the sentence. |
subskills/rtl-and-bidi.md |
software-engineering/rtl-and-bidi |
Direction, mirrored layout, and bidirectional text in mixed content. |
subskills/collation-and-search.md |
software-engineering/collation-and-search |
Sorting, case folding, and search across scripts and diacritics. |
subskills/locale-formatting.md |
software-engineering/locale-formatting |
Dates, times, time zones, calendars, numbers, and currency. |
subskills/localisation-workflow.md |
software-engineering/localisation-workflow |
Key stability, translation memory, review, and keeping pace with source. |
subskills/l10n-record.md |
software-engineering/l10n-record |
The written record: locales supported, coverage, and known gaps. |
Status and honest limits
Locale data changes with each CLDR release, and a rule that is correct today can be refined next year; the library version is part of the behaviour. Translation quality cannot be assessed by an engineer who does not read the language, so the record states coverage and reviewer rather than claiming correctness. Nothing here makes a product localised, and a string table with a hundred percent coverage can still be wrong in every plural form.
04 同仓库更多 Skills
troves
Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.
trade
Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".
staking
Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.
send
Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".
portfolio
View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".
multi-swap
Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.