desktop-localization-architect
Architect-level desktop localisation — string resources per platform, plural and RTL handling, locale-aware formatting and collation, translated installers and store listings, and the offline language packs enterprise deployments need. Use when a desktop app ships in more than one language.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- desktop-localization-architect
- license
- MIT
- metadata
- { "crusor-path": "desktop-architect/platform-architect/desktop-localization-architect", "crusor-domain": "desktop-architect", "crusor-origin": "original", "crusor-sources": "learn.microsoft.com/dotnet/core/extensions/localization; developer.apple.com/documentation/xcode/localization; gnu.org/software/gettext", "crusor-triggers": "desktop localization, gettext, resx, string catalog, language pack, rtl desktop, installer language, locale formatting desktop, translate, translated installer, language selection", "crusor-verified-on": "2026-10-30" }
- description
- Architect-level desktop localisation — string resources per platform, plural and RTL handling, locale-aware formatting and collation, translated installers and store listings, and the offline language packs enterprise deployments need. Use when a desktop app ships in more than one language.
- compatibility
- .NET resx, Xcode String Catalogs, gettext, i18next, ICU
03 SKILL.md 正文
Desktop Localisation Architect
Desktop localisation adds two problems web does not have: installers and offline machines. Both need translated artefacts, not just translated strings.
When to use
- Shipping to non-English markets, especially enterprise-managed fleets.
- Existing app with hardcoded strings in dialogs, menus, and error paths.
- RTL markets where layout mirroring is required.
When NOT to use
- Single-language internal tools — but still externalise strings.
Decision 1 — String resources
- One resource system per app: resx (.NET), String Catalogs (Apple), gettext (GTK/Qt), or i18next (Electron/webview).
- Keys are semantic; no concatenation; parameterised formats for dynamic content.
- Plurals through ICU rules, not
if count == 1. - Error messages, menu items, tooltips, and accessibility names are strings too — they are the ones teams forget.
Decision 2 — Layout and script
- No fixed widths; German and Finnish expand text by 30%+.
- RTL: mirror layouts (leading/trailing), reverse navigation arrows, keep brand marks unmirrored.
- Fonts: ship a font or verify system coverage for CJK, Arabic, Hebrew, Devanagari.
- High-DPI and scaling combined with long strings is where clipping appears.
Decision 3 — Formatting
- Dates, times, numbers, currency, and units via the platform's locale APIs.
- Time zones: display local, store UTC, never format manually.
- Sorting is locale-aware (collation); string comparison by bytes breaks names.
- Right-to-left text mixed with numbers/Latin requires bidi handling — test it.
Decision 4 — Distribution
- Installers localised: NSIS/MSI/WiX support multiple languages; macOS package installers less so — document.
- Language selection at install and at runtime; per-user setting overrides system.
- Offline language packs for air-gapped fleets, versioned with the app.
- Store listings, screenshots, and documentation translated separately but shipped together.
Decision 5 — Workflow
- TMS round-trip with screenshots; pseudo-locale builds in CI to catch truncation.
- Missing translations fall back and are reported, not left blank.
- Native-speaker review for top markets; machine translation labelled as such.
- String freeze before release; late string changes mean broken translations.
Failure modes at scale
- English screenshots used for a German release; three clipped buttons.
- Installer in English only; enterprise deployment blocked by policy.
- Arabic UI with left-aligned text and unmirrored icons.
- Date shown MM/DD to a DD/MM market; contractual problem in finance.
- 12 languages claimed, 4 complete; missing strings show raw keys.
Verification receipts
- String coverage per locale with missing-key report.
- Pseudo-locale screenshots of the top ten screens.
- RTL walkthrough of a core flow.
- Localised installer exercised on a clean VM.
- Formatting tests for dates, currency, and collation.
04 同仓库更多 Skills
interaction-patterns-architect
Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.
design-system-ops-architect
Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.
design-handoff-architect
Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.
content-microcopy-architect
Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.
ui-ux-implementation-architect
Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.
test-strategy-architect
Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.